From owner-freebsd-questions Tue Feb 26 10:23:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dev.nethouse.com (what.ifelse.org [208.171.40.202]) by hub.freebsd.org (Postfix) with ESMTP id 6C5CE37B405 for ; Tue, 26 Feb 2002 10:23:22 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by dev.nethouse.com (8.11.6/8.11.6) with ESMTP id g1QIGlO95807 for ; Tue, 26 Feb 2002 13:16:47 -0500 (EST) (envelope-from btt@nethouse.com) Subject: Illegal Characters in Hostname From: Bill Triplett To: freebsd-questions@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 26 Feb 2002 13:16:47 -0500 Message-Id: <1014747407.93220.41.camel@dev.nethouse.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings, Sendmail is bouncing mail because an MX record contains a _ in the hostname. I realize this is illegal and will notify the domain administrator. Just playing around, I noticed that I can resolve the address with host and dig, but can't ping it if I use the hostname as the argument to ping: [btt$] ping dist_internet..com ping: cannot resolve dist_internet..com: Unknown server ---- So my questions are: Is this strict enforcement of hostnames configurable? Not that I would want to leave loose enforcement on; just wondering. I noticed that linux doesn't seem to have a problem with _'s Out of curiosity, what is causing the exception? Something in libc maybe? If I turn on debug in /etc/resolv.conf, it sure looks like the lookup succeeds (all responses NOERROR), then ping just basically says forget it. ---- The system's uname: FreeBSD elvis.g-d.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Feb 23 12:53:56 EST 2002 root@elvis.g-d.com:/usr/obj/usr/src/sys/ELVIS i386 Thanks in advance for any insight... Regards, Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message