Re: Can Not ping Hosts by name when Underscores are Present.
Thank you very much. I run our domain name servers and this fits what I suspected was going on. bind Version 9 stopped checking names for illegal characters and I usually try to discourage people from using them in names, but I thought I had better check to make sure there wasn't something else afoot before shooting my mouth off. Martin McCormick Charles Swiger writes: >That sounds about right. nslookup is a testing utility which allows >one to query RRs for string you want, including ones which correspond >to invalid hostnames. > >The underscore is not allowed in Internet hostnames-- see RFC-952 and >-1123. > >-- >-Chuck > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can Not ping Hosts by name when Underscores are Present.
On Mar 3, 2004, at 12:56 PM, Martin McCormick wrote: Does the ping utility do some sort of name checking when one wants to ping a particular host by name? Ping uses gethostbyname2() to resolve the target hostname. A person with an account on a FreeBSD system demonstrated to me that one could successfully look up a given host using nslookup but if you pinged that host by name as in ping host_name.domain, one got an immediate complaint from the ping utility like: ping: cannot resolve cl_mail1.mydomain: Unknown server error That sounds about right. nslookup is a testing utility which allows one to query RRs for string you want, including ones which correspond to invalid hostnames. The underscore is not allowed in Internet hostnames-- see RFC-952 and -1123. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Can Not ping Hosts by name when Underscores are Present.
Does the ping utility do some sort of name checking when one wants to ping a particular host by name? A person with an account on a FreeBSD system demonstrated to me that one could successfully look up a given host using nslookup but if you pinged that host by name as in ping host_name.domain, one got an immediate complaint from the ping utility like: ping: cannot resolve cl_mail1.mydomain: Unknown server error I pinged every single host in a range for which host or nslookups work and every single name with the _ failed in this manner. All other names either show an ICMP reply or nobody answering, in other words, perfectly normal behavior. Martin McCormick WB5AGZ Stillwater, OK OSU Information Technology Division Network Operations Group ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"