From owner-freebsd-questions@FreeBSD.ORG Sun Jan 27 08:37:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2416816A418 for ; Sun, 27 Jan 2008 08:37:01 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from conn-smtp.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.freebsd.org (Postfix) with ESMTP id E5E2E13C457 for ; Sun, 27 Jan 2008 08:37:00 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by conn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 7A4E378A6; Sun, 27 Jan 2008 02:36:59 -0600 (CST) Received: from build64.tcbug.org (unknown [208.42.70.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTP id AEF306D9C5D; Sun, 27 Jan 2008 02:36:58 -0600 (CST) From: Josh Paetzel To: freebsd-questions@freebsd.org Date: Sun, 27 Jan 2008 02:36:48 -0600 User-Agent: KMail/1.9.7 References: <000401c8607c$9dad4a50$0a01a8c0@680nr0j> In-Reply-To: <000401c8607c$9dad4a50$0a01a8c0@680nr0j> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart11443241.KENSu6oe86"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200801270236.58027.josh@tcbug.org> Cc: Walter Jansen Subject: Re: redundancy in domain or hostname ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2008 08:37:01 -0000 --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--