[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] DHCP again
On Tue, Mar 25, 2003 at 10:11:59AM +0000, Steve Tickle wrote:
> Hmm, either dhcpd isn't updating DNS or BIND isn't accepting the updates. I've
> copied my dhcpd.conf and named.conf below. Is there anything obvious I
> haven't done/should have done?
Hmm, I've only taken a brief look, but it looks sane - nothing obviously
obviously wrong. The one thing I would query - your BIND setup seems
to be saying 'accept updates from 192.168.1.30', but your dhcp setup
says 192.168.1.30 is the name server. Is the bind on the same server
as the dhcp server? In that case, having 192.168.1.30 in the dynamic
allocation range (as it appears to be) seems a bit bonkers.
> option domain-name-servers 192.168.1.30 ;
>
> subnet 192.168.1.0 netmask 255.255.255.0 {
> ddns-updates on;
> ddns-domainname "quarndon.net";
> range 192.168.1.1 192.168.1.30;
> }
>
> zone "quarndon.net"{
> type master;
> allow-update {
> 192.168.1.30;
> };
> };
(Ditto for the reverse zone).
Best thing to do would be to tail the logs - e.g., for bind, do a
tail -f /var/log/named.log (or whatever the log file is, daemon.log or
something, I can never remember :o). That will provide a 'live' view to
stuff that happens - do that while you bring a machine online for DHCP
discovery, and see if BIND squeaks when you do something?
Cheers,
Alex.
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.