View previous topic :: View next topic |
Author |
Message |
MarkYork n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2011 Posts: 20
|
Posted: Thu Mar 08, 2012 1:29 am Post subject: DNS query updates from dhcpd to dnsmaq |
|
|
Hello folks,
I have been trying to configure a DNS caching server on my local network using dnsmasq. I was able to implement a caching server for external queries, but not able to get the DNS hostname updates coming from the dhcpd server.
My dnsmaq.conf:
-------------------------------------------------
strict-order
dhcp-leasefile=/var/lib/dhcp/dhcpd.leases
log-queries
-------------------------------------------------
My dhcpd.conf:
-------------------------------------------------
default-lease-time 600;
max-lease-time 7200;
ddns-update-style interim;
authoritative;
log-facility local7;
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.10 10.0.0.100;
option routers 10.0.0.1;
option domain-name-servers 10.0.0.1;
}
-------------------------------------------------
Any guesses? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
truc Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/128604942846f4cd99d01cb.jpg)
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Thu Mar 08, 2012 9:59 am Post subject: |
|
|
AFAIK there is no such mechanism as dns update builtin dnsmasq *but* if you also use dnsmasq as the dhcpd on you LAN, then, you'll have hostname<-> resolution (at least for dhcp client sending their hostname) _________________ The End of the Internet! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MarkYork n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Feb 2011 Posts: 20
|
Posted: Thu Mar 08, 2012 2:11 pm Post subject: |
|
|
Thanks truc for the reply!
I needed to confirm if such mechanism existed on dnsmasq.
Now, how can I get hostname resolution with dhcpd? is it the only why by setting a BIND dns server? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
truc Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/128604942846f4cd99d01cb.jpg)
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Fri Mar 09, 2012 12:35 am Post subject: |
|
|
If you really have to stick with dhcpd(do you?), then you'll have to use a NS supporting dns updates, bind is one of those. _________________ The End of the Internet! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|