Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2007 20:09:44 -0700
From:      L33T Networks <fbsdhelp@l33tnetworks.com>
To:        RW <fbsd06@mlists.homeunix.com>, <freebsd-questions@freebsd.org>
Subject:   Re: Question about the /etc/hosts file
Message-ID:  <C2419F88.53A%fbsdhelp@l33tnetworks.com>
In-Reply-To: <20070411015451.142f4807@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Preceisely ... That would indicate that the PQDN when fully qualified would
appear as:

apollo.mydomain.com.mydomain.com.

Mydomain.com being the domain listed in the resolv.conf file


On 4/10/07 5:54 PM, "RW" <fbsd06@mlists.homeunix.com> wrote:

> On Tue, 10 Apr 2007 15:52:43 -0500
> Derek Ragona <derek@computinginnovations.com> wrote:
> 
>> At 03:48 PM 4/10/2007, L33T Networks wrote:
>>> What is the second line with 10.20.30.199, and the hostname ends in a
>>> period? I've never seen this in a host file previous to FBSD v.6.
>>> 
>>> apollo# cat /etc/hosts
>>> #::1                    localhost.mydomain.com localhost
>>> 127.0.0.1               localhost.mydomain.com localhost
>>> 10.20.30.199            apollo.mydomain.com apollo
>>> 10.20.30.199            apollo.mydomain.com.
>>> 
>>> Is this something that's required for other IP addresses that will
>>> be added to the hosts file in the future?
>> 
>> Names ending in a dot represent the fully qualified domain name.  You
>> do it all on one line but it gets too long to easily see and edit.
>> 
> But that doesn't explain why apollo.mydomain.com. appears as both a
> FQDN and a PQDN
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C2419F88.53A%fbsdhelp>