Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-21-2005, 06:48 PM
|
#1
|
Member
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340
Rep:
|
Cache DNS server and zone file
If i want to setup a caching DND server, do i need to create zone ? Thanks
Rgds
Daniel
|
|
|
09-22-2005, 11:55 AM
|
#2
|
Member
Registered: Sep 2003
Location: India
Distribution: Debian
Posts: 50
Rep:
|
Nope.. If u are creating a caching only name server u don need to create a zone entry.. In most distros u put ur ISP's DNS servers in /etc/resolv.conf and start named . And it will start working as a caching only name server.
|
|
|
09-25-2005, 05:27 AM
|
#3
|
Member
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340
Original Poster
Rep:
|
I get this rndc error " rndc: connect failed: connection refused. Any idea ? rndc.key ,rndc.conf and other files all have inside the /chroot/etc and /chroot/var/named/ . Named service can be started but not stopped.
Rgds
Daniel
Quote:
Originally posted by linuxmanju
Nope.. If u are creating a caching only name server u don need to create a zone entry.. In most distros u put ur ISP's DNS servers in /etc/resolv.conf and start named . And it will start working as a caching only name server.
|
|
|
|
09-25-2005, 07:10 PM
|
#4
|
Member
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340
Original Poster
Rep:
|
Hi, i find out that i required to create rndc key and configure named.conf to get the rndc error away. Pls advise on how to do that ? Thanks .
Rgds
Daniel
Quote:
Originally posted by linuxmanju
Nope.. If u are creating a caching only name server u don need to create a zone entry.. In most distros u put ur ISP's DNS servers in /etc/resolv.conf and start named . And it will start working as a caching only name server.
|
|
|
|
09-26-2005, 06:15 AM
|
#5
|
Member
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620
Rep:
|
Quote:
Originally posted by linuxmanju
Nope.. If u are creating a caching only name server u don need to create a zone entry.. In most distros u put ur ISP's DNS servers in /etc/resolv.conf and start named . And it will start working as a caching only name server.
|
Are you possibly talking about configuring "forwarders"? If you just put your ISP's nameservers in resolv.conf, then the local resolver libs of that system will never query the caching name server you just setup. Other hosts on your LAN would also need to have their resolver libs configured to use this caching only servers IP address.
FWIW: On my system running named, I put localhost followed by one of my ISP's name servers in resolv.conf. ie.
Code:
# cat /etc/resolv.conf
search mydomain.com
nameserver 127.0.0.1
nameserver x.x.x.x
|
|
|
09-26-2005, 06:17 AM
|
#6
|
Member
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620
Rep:
|
Quote:
Originally posted by DanielTan
Hi, i find out that i required to create rndc key and configure named.conf to get the rndc error away. Pls advise on how to do that ? Thanks .
|
Please see: man rndc-confgen
In particular, the -a command line option.
|
|
|
09-26-2005, 10:32 AM
|
#7
|
Member
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340
Original Poster
Rep:
|
Eve after i use the command to generate key , it still have the RNDC connection refused error. I copy the key to named.conf and rndc.conf . Anything i missed ? Pls help. Thanks
Regards
Daniel
Quote:
Originally posted by scowles
Please see: man rndc-confgen
In particular, the -a command line option.
|
|
|
|
09-26-2005, 11:00 AM
|
#8
|
Member
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340
Original Poster
Rep:
|
No i'm talking abt cache server. i discovered that each time i put in 127.0.0.1 , after running named again it will loss that line. Also when shutdown system, named service will have some libcrypto error messages. Pls advise.
Regards
Daniel
Quote:
Originally posted by scowles
Are you possibly talking about configuring "forwarders"? If you just put your ISP's nameservers in resolv.conf, then the local resolver libs of that system will never query the caching name server you just setup. Other hosts on your LAN would also need to have their resolver libs configured to use this caching only servers IP address.
FWIW: On my system running named, I put localhost followed by one of my ISP's name servers in resolv.conf. ie.
Code:
# cat /etc/resolv.conf
search mydomain.com
nameserver 127.0.0.1
nameserver x.x.x.x
|
|
|
|
All times are GMT -5. The time now is 11:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|