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.
- 01-06-2004 #1Just 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...
- 01-08-2004 #2Linux 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:
In root.hint (which should be in BIND's root dir):Code:zone "." { type hint; file "root.hint"; };
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>
- 01-09-2004 #3
And at the top of named.conf you will see
Comment this out and enter your ISP's DNS's IP address here HTH.Code:fowarders { x.x.x.x x.x.x.x }
- 01-09-2004 #4Linux 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?
- 01-09-2004 #5
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.


Reply With Quote
