can i know how to set up dns cache server? do you have any useful website? thank you
--- On Wed, 7/8/09, John R Pierce pierce@hogranch.com wrote:
From: John R Pierce pierce@hogranch.com Subject: Re: [CentOS] dhcp question To: "CentOS mailing list" centos@centos.org Received: Wednesday, July 8, 2009, 1:08 PM
chloe K wrote:
thank you how can I put the name server in dhcpd.conf for the client as I use ISP nameserver? this name server has to change when I change other ISP too
run your own local DNS caching server, and give the DHCP clients 192.168.0.1 or whatever your local network gateway IP is.
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
__________________________________________________________________ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca
chloe K wrote:
can i know how to set up dns cache server?
do you have any useful website?
yum install caching-nameserver chkconfig named on service named start
will work if that's all you want. But don't install that package if you also want it to act as a primary server for your own local names (and if you have more than a few machines you probably do want that).
chloe K wrote:
can i know how to set up dns cache server?
do you have any useful website?
for your use, dnsmasq would do nicely. with the rpmforge repo configured...
# yum install dnsmasq # chkconfig dnsmasq on # service dnsmasq start
*done*
dnsmasq has some configuration options in /etc/dnsmasq.conf as well as man pages explaining more. there's some notes on it here, http://www.thekelleys.org.uk/dnsmasq/doc.html
On 07/08/2009 11:46 PM, John R Pierce wrote:
for your use, dnsmasq would do nicely. with the rpmforge repo configured...
whats wrong with the dnsmasq already included in C5 ? ( I am guessing the target is c5 )
# yum install dnsmasq # chkconfig dnsmasq on # service dnsmasq start
Why not just use the caching-nameserver ?
Karanbir Singh wrote:
On 07/08/2009 11:46 PM, John R Pierce wrote:
for your use, dnsmasq would do nicely. with the rpmforge repo configured...
whats wrong with the dnsmasq already included in C5 ? ( I am guessing the target is c5 )
oh is it? I did a rpm -qi and saw your name and assumed it was from rpmforge.
Why not just use the caching-nameserver ?
isn't that a canned bind configuration? ah, yeah, thats what the package info file says it is.
bind is a lot more complex than dnsmasq. dnsmasq uses /etc/resolv.conf for forwarded lookups, while a caching bind server either uses a statically configured forwarder, or a root cache zone, and running a root cache zone on a intermittently connected system ('different ISPs') isn't a good idea.
dnsmasq will also serve local clients with dns using entries in your /etc/hosts file, which can be handy when you have a few static hosts on a small masqueraded network.
On Wed, Jul 8, 2009 at 5:55 PM, Karanbir Singhmail-lists@karan.org wrote:
On 07/08/2009 11:46 PM, John R Pierce wrote:
for your use, dnsmasq would do nicely. with the rpmforge repo configured...
whats wrong with the dnsmasq already included in C5 ? ( I am guessing the target is c5 )
# yum install dnsmasq # chkconfig dnsmasq on # service dnsmasq start
Why not just use the caching-nameserver ?
-- Karanbir Singh : http://www.karan.org/ : 2522219@icq _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
There are db based nameservers such as MyDNS or djbdns or pdns. MySQL db replication can replicate zones to other machines and it has an web interface option.
pdns is authoritative only, not caching. pdns-recursor is caching.
yum search pdns for ldap, db, geo, .... and i thought a web interface.