DNS problem

This is a discussion on DNS problem within the Linux Networking forums, part of the Linux Forums category; hi friends well i m using RHEL5 there is no named.conf file in /var/named/chroot/etc/named.conf ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 1 Week Ago
priyanknewbeeee
 
Posts: n/a
Default DNS problem

hi friends

well i m using RHEL5 there is no named.conf file in
/var/named/chroot/etc/named.conf in this path

so pls tell me what should i do?

thanku.
Reply With Quote
  #2 (permalink)  
Old 1 Week Ago
Bill Marcum
 
Posts: n/a
Default Re: DNS problem

On 2008-05-05, priyanknewbeeee <justpriyank@gmail.com> wrote:
>
>
> hi friends
>
> well i m using RHEL5 there is no named.conf file in
> /var/named/chroot/etc/named.conf in this path
>
> so pls tell me what should i do?
>
> thanku.


If there is no named.conf, maybe there is an nsswitch.conf, or maybe you
need to copy one or the other from the real /etc.
Reply With Quote
  #3 (permalink)  
Old 6 Days Ago
Kiran Kumar Mukkamala
 
Posts: n/a
Default Re: DNS problem

No, nsswitch.conf is not named.conf.

nsswitch.conf specifies what services to resolve names. If you have
multiple name-services (locations to look for name resolution
information) say, /etc/hosts file, NIS, LDAP, named (bind)..
nsswitch.conf specifies what service to be used 1st.. if it fails..
what should be used next.. and so on. nsswitch is an acronym for name-
service-switch configuration.

For your problem, what you can do is, create a file under /var/named/
chroot/etc/named.conf and create a symbolic link under /etc/named.conf
point to /var/named/chroot/etc/named.conf . If you don't know what
should be the content of named.conf, just use the contents as part of
that.

-------------
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";
----------------

Apart from this you need the files, that named.conf is referring,
i.e., named.ca, named.rfc1912.zones etc.


Better way is, reinstall named.rpm. That's straigh method, I guess
your system may not be installed with named.rpm. Use 'yum install
named'


with regards,

Kiran Kumar Mukkamala

On May 5, 12:05 pm, Bill Marcum <marcumb...@bellsouth.net> wrote:
> On 2008-05-05, priyanknewbeeee <justpriy...@gmail.com> wrote:
>
>
>
> > hi friends

>
> > well i m using RHEL5 there is no named.conf file in
> > /var/named/chroot/etc/named.conf in this path

>
> > so pls tell me what should i do?

>
> > thanku.

>
> If there is no named.conf, maybe there is an nsswitch.conf, or maybe you
> need to copy one or the other from the real /etc.


Reply With Quote
  #4 (permalink)  
Old 6 Days Ago
priyanknewbeeee
 
Posts: n/a
Default Re: DNS problem

thanks for ur reply but i dont have net at home so could u tell me
where can i get the rpm of named.
so i can configure the DNS server
Reply With Quote
  #5 (permalink)  
Old 5 Days Ago
vivek.mangal9685@gmail.com
 
Posts: n/a
Default Re: DNS problem

On May 7, 2:12 am, priyanknewbeeee <justpriy...@gmail.com> wrote:
> thanks for ur reply but i dont have net at home so could u tell me
> where can i get the rpm of named.
> so i can configure the DNS server


you can find named rpm form your RHEL 5 CDs/DVD
For DNS Server you need bind-*.rpms and a caching-nameserver-*.rpm
Reply With Quote
  #6 (permalink)  
Old 4 Days Ago
priyanknewbeeee
 
Posts: n/a
Default Re: DNS problem

ok i got it
could u tell me how to configure the dns server step by step

thanku
Reply With Quote
  #7 (permalink)  
Old 4 Days Ago
erach27@gmail.com
 
Posts: n/a
Default Re: DNS problem

On May 5, 11:21 am, priyanknewbeeee <justpriy...@gmail.com> wrote:
> hi friends
>
> well i m using RHEL5 there is no named.conf file in
> /var/named/chroot/etc/named.conf in this path
>
> so pls tell me what should i do?
>
> thanku.


SWITCH TO UBUNTU www.ubuntu.com
and
KUBUNTU www.kubuntu.com

it is built by a south african billionaire who was the first OUTER
SPACE tourist.
It builds on DEBIAN.
since u alreay know linux use kubuntu

I had it installed and running flat in 2 days (needed some help).

Erach
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:00 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0