Dns Update

frank miller frankkmiller at yahoo.com
Tue May 6 14:59:12 UTC 2008


Yes I used both of those but it still updated dns with
the name that the client sent rather than the one I
dictated. This does not seem to follow the behavior
described in the docs below.



--- Glenn Satchell <Glenn.Satchell at uniq.com.au> wrote:

> 'host truename' is just a unique label for the host
> declararion, and
> doesnothave to have any resemblance to the real
> name.
> use-host-decl-names can override this bahaviour.
> 
> In the interim dynamic dns update scheme it is a
> little different from
> the ad-hoc scheme.
> 
> This is the relevant section from the dhcpd.conf man
> page:
> 
>      If the server is configured not to allow client
> updates,  or
>      if  the client doesn't want to do its own
> update, the server
>      will simply choose a name for the  client  from
>  either  the
>      fqdn   option  (if  present)  or  the  hostname
>  option  (if
>      present).  It will use its own domain name for 
> the  client,
>      just  as  in  the ad-hoc update scheme.  It
> will then update
>      both the A and PTR record, using the name that
> it chose  for
>      the  client.    If the client sends a
> fully-qualified domain
>      name in the fqdn option, the server uses only 
> the  leftmost
>      part  of  the  domain name - in the example
> above, "jschmoe"
>      instead of "jschmoe.radish.org".
> 
> So, in your host declaration I think you need to
> also set:
> 
>   option hostname = "truename";
> 
> and maybe you will need to set
> 
>   option fqdn.fqdn = "truename.testing.com";
> 
> but try only setting option hostname first. Options
> are covered in the
> dhcp-options man page.
> 
> regards,
> -glenn
> 
> >Date: Fri, 2 May 2008 17:01:43 -0700 (PDT)
> >From: frank miller <frankkmiller at yahoo.com>
> >Subject: Re: Dns Update 
> >To: dhcp-users at isc.org
> >
> >Which instance of 'truename' do you refer to ?
> >
> >--- Romer Ventura <rventura at h-st.com> wrote:
> >
> >> Don't you have to use the MAC add where it says
> >> "truname" else it wont
> >> recognize it...?
> >> 
> >> 
> >> On 5/2/08 1:59 PM, "frank miller"
> >> <frankkmiller at yahoo.com> wrote:
> >> 
> >> > 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";
> >> > }
> >> 
> >> ------ 
> >> Romer Ventura
> >> Network Administrator
> >> Houston-Sigma Technologies, L.P.
> 
> 
> 



      ____________________________________________________________________________________
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