The IP address being offered does not need to resolve; if I configure
it to update my DNS, then at the time it's offered it will not resolve.
Here's the stanza from /etc/dhcpd.conf
host banana
{
fixed-address 192.168.1.20;
option host-name "banana";
}
BUT the stanza's not required at all.
>
> > I'm looking at the ipconfig.c source, around line 1324 where I see this
> > code:
> > case 4:
> > if ((dp = strchr(ip, '.'))) {
> > *dp++ = '\0';
> > strncpy(system_utsname.domainname, dp, __NEW_UTS_LEN);
> > system_utsname.domainname[__NEW_UTS_LEN] = '\0';
> > }
> > strncpy(system_utsname.nodename, ip, __NEW_UTS_LEN);
> > system_utsname.nodename[__NEW_UTS_LEN] = '\0';
> > ic_host_name_set = 1;
> > break;
> >
> > I can see how the dnsdomain name's being set, and it does not look
> > right to me.
> >
> > If someone can prepare a patch for me, I'll be delighted to test it.
> >
>
-- Cheers John SummerfieldMicrosoft's most solid OS: http://www.geocities.com/rcwoolley/
Note: mail delivered to me is deemed to be intended for me, for my disposition.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/