Dns Update
frank miller
frankkmiller at yahoo.com
Fri May 2 18:59:05 UTC 2008
No I just tested with these exact options.
ddns-update-style interim;
ddns-updates on;
ddns-ttl 60;
And then
host truename {
hardware ethernet 1.1.1.1.1.1;
fixed-address 1.1.1.1;
ddns-hostname "truename";
ddns-domainname "testing.com";
option domain-name "testing.com";
}
On my computer I changed the computer name (My
Computer,Properties,Computer Name) to Evilname and:
May 2 14:49:17 testserv dhcpd: [ID 70211 local2.info]
Added new forward map from evilname.test.com to
1.1.1.1
May 2 14:49:17 testserv dhcpd: [ID 70911 local2.info]
added reverse map from 1.1.1.1.in-addr.arpa. to
evilname.test.com
I'd like dhcp to update using what I have in
dhcpd.conf regardless of what a (potentially
untrustworthy) client sends.
>
>
> John Hascall <john at iastate.edu> wrote:
>
> >
> > > Do not always want to trust what the client
> sends
> > as
> > > the hostname and would like to use what is in
> the
> > host
> > > definition for example, the option host-name or
> > > ddns-hostname.
> > >
> > > I want DHCPD to update DNS based on what I set
> not
> > > what the client sends.
> > >
> > > I have tried a few of the options but the dns
> > always
> > > seems to update on what the client sends and not
> > on
> > > what is in DHCPD.CONF.
> >
> > This is what we use without issue:
> >
> > ddns-update-style interim;
> > ddns-updates on;
> > ddns-ttl 300;
> > ...
> > # ministry-of-silly-walks.its.iastate.edu
> > 00:80:47:3d:a7:a7 john
> > host 0080473da7a7 {
> > hardware ethernet 00:80:47:3d:a7:a7;
> > ddns-hostname "ministry-of-silly-walks";
> > ddns-domainname "its.iastate.edu";
> > option domain-name "its.iastate.edu";
> > }
> >
> >
> > Hope this helps,
> > John
> >
> >
>
>
>
>
>
____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the dhcp-users
mailing list