Find the answer to your Linux question:
Results 1 to 5 of 5
Hi to all, Can anyone please help in setting up my dns. I have to create a dns server on my server which has a fresh installation of linux 9.1. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2004
    Posts
    1

    DNS forwarding


    Hi to all,
    Can anyone please help in setting up my dns. I have to create a dns server on my server which has a fresh installation of linux 9.1. But the problem this DNS server dont have any database to resolve host address, So what i have to do is call one of my ISP's DNS from my dns server and resolve the address. I dont know how to do this...How to call external dns server from my dns server. I tried creating slave zone and adding ISP's DNS ip's in master but it didn't worked...I hope i m clear...Please help me...

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Are you using BIND as you DNS server? In that case, create a "hint" zone for the root domains, something like this:

    In named.conf:
    Code:
    zone "."
    {
            type hint;
            file "root.hint";
    };
    In root.hint (which should be in BIND's root dir):
    Code:
    .       3600000 IN      NS      ns1.isp.tld
    ns1.isp.tld.   3600000         A       <IP address>
    .       3600000 IN      NS      ns2.isp.tld
    ns2.isp.tld.   3600000         A       <IP address 2>

  3. #3
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    And at the top of named.conf you will see
    Code:
    fowarders &#123;
        x.x.x.x
        x.x.x.x
    &#125;
    Comment this out and enter your ISP's DNS's IP address here HTH.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Interesting. I haven't seen the forwarders option until now. Giro, do you know what the practical differences are between specifying them this way or in the root hint?

  6. #5
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    Havent a clue what the differnce is i used this txt http://www.faqs.org/docs/securing/chap21sec164.html . Im switching to djbdns now from what ive read its alot more secure by design and better for what i need which is only caching.

Posting Permissions

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