Date: Sun, 27 Jan 2008 02:36:48 -0600 From: Josh Paetzel <josh@tcbug.org> To: freebsd-questions@freebsd.org Cc: Walter Jansen <walter.jansen@inter.nl.net> Subject: Re: redundancy in domain or hostname ? Message-ID: <200801270236.58027.josh@tcbug.org> In-Reply-To: <000401c8607c$9dad4a50$0a01a8c0@680nr0j> References: <000401c8607c$9dad4a50$0a01a8c0@680nr0j>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart11443241.KENSu6oe86 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 26 January 2008 06:36:11 pm Walter Jansen wrote: > The router connected to my server reports DNS inquiries like > "myserver.example.com.example.com" which obviously leads nowhere > > > > The server is in a SOHO situation connected to a router which is connected > to DSL; the server runs 6.3 Release and will serve as mailserver for the > few in-house employees and as a webserver. The domain "example.com" is > registered with Dyndns.org who also run the "Custom DNS service". The DNS > entries were checked with Dyndns.org staff and found in accordance with t= he > purpose. > > During installation of the server, the hostname "myserver.example.com" a= nd > the domain name "example.com" were entered in the appropiate Sysinstall > dialog > > . > > /etc/hosts shows: > ::1 localhost.example.com localhost > > 127.0.0.1 localhost.example.com localhost > > 192.168.1.13 myserver.example.com myserver > > 192.168.1.13 myserver.example.com. > > > > 192.168.1.13 is allocated to the server by the DHCP of the router; this IP > address is fixed though!! > > > > > > Table /etc/resolv.com reads: > > > > domain example.com > > nameserver 192.168.1.1 (my router's IP address > > > > > > I postponed installation of Postfix and Apache as I feel that host- and > domainname should be configured correctly to prevent accumulating trouble. > > > > Remarks a most appreciated. > > > > -- Walter -- If memory serves the hostname in sysinstall is just the host part of the na= me,=20 in your case myserver, and the domain part is example.com What does hostname think the hostname is? The other common case where you'll get this is forgetting a . in a BIND zon= e=20 file, which causes it to append the domain name again.... =2D-=20 Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB --nextPart11443241.KENSu6oe86 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHnEKqJvkB8SevrssRApAnAJ92eK/7uNz0pFKbz6GSLEyJ2dW3HACePdZJ 5Na+1nqN9EmhN2Z/uxp63lw= =dn1x -----END PGP SIGNATURE----- --nextPart11443241.KENSu6oe86--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801270236.58027.josh>