Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DNS query updates from dhcpd to dnsmaq
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MarkYork
n00b
n00b


Joined: 01 Feb 2011
Posts: 15

PostPosted: Thu Mar 08, 2012 1:29 am    Post subject: DNS query updates from dhcpd to dnsmaq Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Thu Mar 08, 2012 9:59 am    Post subject: Reply with quote

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
View user's profile Send private message
MarkYork
n00b
n00b


Joined: 01 Feb 2011
Posts: 15

PostPosted: Thu Mar 08, 2012 2:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Fri Mar 09, 2012 12:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum