Find the answer to your Linux question:
Results 1 to 3 of 3
I'm running bind9 on my linux box, centos 5.1. How do I set named to use a specified dns server and to not use any root servers for all lookups?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    2

    BIND9 Configuration


    I'm running bind9 on my linux box, centos 5.1. How do I set named to use a specified dns server and to not use any root servers for all lookups?

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    If its a caching nameserver, you can edit /var/named/chroot/etc/named.conf and enter the IP address/es of the nameservers you wish to use e.g.
    Code:
    forwarders { xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx; }; 
    forward only;

  3. #3
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    848
    named.conf might be located in /etc/named.conf depending on your distribution
    Linux User #453176

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •