Networking Forums

Networking Forums > Computer Networking > Linux Networking > DNS problem

Reply
 
 
priyanknewbeeee
Guest
Posts: n/a

 
      05-05-2008, 06:21 AM
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
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      05-05-2008, 07:05 AM
On 2008-05-05, priyanknewbeeee <(E-Mail Removed)> 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
 
Kiran Kumar Mukkamala
Guest
Posts: n/a

 
      05-06-2008, 06:32 AM
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
 
priyanknewbeeee
Guest
Posts: n/a

 
      05-06-2008, 09:12 PM
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
 
vivek.mangal9685@gmail.com
Guest
Posts: n/a

 
      05-07-2008, 07:06 AM
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
 
priyanknewbeeee
Guest
Posts: n/a

 
      05-07-2008, 11:46 PM
ok i got it
could u tell me how to configure the dns server step by step

thanku
 
Reply With Quote
 
erach27@gmail.com
Guest
Posts: n/a

 
      05-08-2008, 03:53 AM
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange problem: no problem with Linux, when I boot windows 2K network is down... Santa Linux Networking 11 11-29-2004 06:46 AM



1 2 3 4 5 6 7 8 9 10 11