NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install/51683: sysinst incorrectly puts the domain name on the hostname in /etc/rc.conf
The following reply was made to PR install/51683; it has been noted by GNATS.
From: Dean Anderson <dean%av8.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: install-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
dean%av8.net@localhost
Subject: Re: install/51683: sysinst incorrectly puts the domain name on the
hostname in /etc/rc.conf
Date: Fri, 9 Dec 2016 14:23:51 -0500 (EST)
DHCP adds the domain to any names that don't have a dot at the end.
That is the correct behavior.
The hostname should not include the domainname in rc.conf:
For example it should be
hostname=mktdata1
instead of
hostname=mktdata1.boscp.av8.net
When dhcp sees a hostname "mktdata1.boscp.av8.net" (note no dot), it
will append the domain name.
--Dean
Av8 Internet Prepared to pay a premium for better service?
www.av8.net faster, more reliable, better service
617 256 5494
On Sat, 3 Dec 2016, Martin Husemann wrote:
> The following reply was made to PR install/51683; it has been noted by GNATS.
>
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: install/51683: sysinst incorrectly puts the domain name on the hostname in /etc/rc.conf
> Date: Sat, 3 Dec 2016 09:15:45 +0100
>
> On Fri, Dec 02, 2016 at 10:30:00PM +0000, dean%av8.net@localhost wrote:
> > When dhcpcd update the reverse dns, it will have
> > <hostname>.<domainname>.<domainname>.
>
> I am not sure what you mean here: AFAICT dhcpcd does never update reverse
> dns. Your DHCP server may be configured to do dynamic DNS updates and
> there may be a configuration issue hiding there.
>
> Martin
>
>
Home |
Main Index |
Thread Index |
Old Index