<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ping xxx  - returns unknow host xxx in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888094#M86895</link>
    <description>Since the 2003 server is suspect, what happens if you try stuff on it?  Could be informative...&lt;BR /&gt;&lt;BR /&gt;Mic</description>
    <pubDate>Tue, 01 Mar 2005 00:08:55 GMT</pubDate>
    <dc:creator>Mic V.</dc:creator>
    <dc:date>2005-03-01T00:08:55Z</dc:date>
    <item>
      <title>ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888084#M86885</link>
      <description>Before reading any further this is not going to an easy 10 pointer for anybody.&lt;BR /&gt;&lt;BR /&gt;I have 2 Suse 9.0 Enterprise Linux servers, one at my office here and one out on a customers site both appear to be identically set up. The network files etc/hosts etc/nsswitch.conf etc/resolv.conf and etc/host.conf all contain the same information, the only difference is that my domain name is xxxxx.co.uk  were the customers is yyy.local. Another difference, which may be unrelated, is that we use a seperate linux 9.1 server as our DNS server where the customer uses a Windows 2003 server.&lt;BR /&gt;&lt;BR /&gt;The problem is that when I do a ping xxxx on the customers machine I get the responce&lt;BR /&gt;ping: unknown host xxxx for any machine not in the local etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;Looking further into the problem I issued the following command on both 9.0 servers:&lt;BR /&gt;tcpdump -v host &lt;DNSSERVER&gt; and &lt;HOSTNAME&gt;&lt;BR /&gt;&lt;BR /&gt;On my machine when I issue a ping xxxx I see a request to the dnsserver for the address of "xxxx.xxxxx.co.uk" were as on the customers machine I only see a request for "xxxx.". &lt;BR /&gt;The command domainname on both machines returns nothing and dnsdomainname returns the correct domain name. On both machines the commands dig nslookup and host all work correctly. &lt;BR /&gt;Additionally it is not just ping which fails, ftp, ssh, telnet also fail with unknown host.&lt;BR /&gt;&lt;BR /&gt;Many thanks for any assistance you may be able to give.&lt;BR /&gt;&lt;BR /&gt;&lt;/HOSTNAME&gt;&lt;/DNSSERVER&gt;</description>
      <pubDate>Fri, 25 Feb 2005 10:39:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888084#M86885</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2005-02-25T10:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888085#M86886</link>
      <description>So all digs and hosts work, for example:&lt;BR /&gt;&lt;BR /&gt;dig &lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt;&lt;BR /&gt;and&lt;BR /&gt;dig internal.hostname.local&lt;BR /&gt;&lt;BR /&gt;returns a correct address on the customers Suse box?&lt;BR /&gt;&lt;BR /&gt;What specifically does the domain line on the customer machines resolv.conf say, does it match the output from dnsdomainname command?&lt;BR /&gt;&lt;BR /&gt;In the hosts file does the local machines address first have the short name or the fqdn, ie:&lt;BR /&gt;&lt;BR /&gt;192.168.1.1 host host.domain.tld&lt;BR /&gt;or &lt;BR /&gt;192.168.1.1 host.domain.tld host&lt;BR /&gt;&lt;BR /&gt;The resolv.conf man page says that the default domain is determined using the gethostname() sys call if a domain line is not present.&lt;BR /&gt;&lt;BR /&gt;--Dave</description>
      <pubDate>Fri, 25 Feb 2005 14:29:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888085#M86886</guid>
      <dc:creator>Dave Falloon</dc:creator>
      <dc:date>2005-02-25T14:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888086#M86887</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;May be unrelated, but can you try to make your SUSE box a slave zone for W2K3 DNS server, just for troubleshooting?</description>
      <pubDate>Sat, 26 Feb 2005 00:13:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888086#M86887</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2005-02-26T00:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888087#M86888</link>
      <description>Did you check into routing table entries?? &lt;BR /&gt;&lt;BR /&gt;check reachablity of remote hosts using traceroute utility. It will be useful when there is problem with ROUTING.&lt;BR /&gt;&lt;BR /&gt;what is the entries in /etc/resolv.conf file? like..,&lt;BR /&gt;&lt;BR /&gt;domain .yyy.local&lt;BR /&gt;&lt;BR /&gt;domain .co.uk&lt;BR /&gt;&lt;BR /&gt;If you are getting problem for  ftp, ssh, telnet and ping then that will be a problem with ROUTING.&lt;BR /&gt;&lt;BR /&gt;HTH.</description>
      <pubDate>Sat, 26 Feb 2005 00:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888087#M86888</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-02-26T00:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888088#M86889</link>
      <description>Couple things - does the customer's /etc/recolv.conf file have the proper domain entry? That would be one that is different from your own of course :)&lt;BR /&gt;&lt;BR /&gt;Is there a search directive in the /etc/resolv.conf file?&lt;BR /&gt;&lt;BR /&gt;Do FTP, SSH, Telnet and ping work when you use the FQDN rather than simply "xxxx?"</description>
      <pubDate>Sat, 26 Feb 2005 12:50:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888088#M86889</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-02-26T12:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888089#M86890</link>
      <description>Many thanks for the answers so far, in response to your questions I will list the various files on the Non-working system&lt;BR /&gt;&lt;BR /&gt;/etc/hosts:&lt;BR /&gt;127.0.0.1       localhost&lt;BR /&gt;&lt;BR /&gt;::1             localhost ipv6-localhost ipv6-loopback&lt;BR /&gt;&lt;BR /&gt;fe00::0         ipv6-localnet&lt;BR /&gt;&lt;BR /&gt;ff00::0         ipv6-mcastprefix&lt;BR /&gt;ff02::1         ipv6-allnodes&lt;BR /&gt;ff02::2         ipv6-allrouters&lt;BR /&gt;ff02::3         ipv6-allhosts&lt;BR /&gt;xxxx.xx.x.6     hostname.ddd.local hostname&lt;BR /&gt;&lt;BR /&gt;/etc/resolv.conf&lt;BR /&gt;domain ddd.local&lt;BR /&gt;nameserver xxx.xx.x.1&lt;BR /&gt;search ddd.local&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch.conf&lt;BR /&gt;hosts:          files dns&lt;BR /&gt;networks:       files dns&lt;BR /&gt;&lt;BR /&gt;/etc/host.conf&lt;BR /&gt;order hosts,bind&lt;BR /&gt;multi on&lt;BR /&gt;&lt;BR /&gt;I have tried a ping host.ddd.local but again using the tcpdump the system only appears to request the ip address for "host.". To me this appears to be a problem with the system not recognising its own domain name. Is there another file other then etc/hosts and etc/resolv.conf where the host name can be specified. Looking at the network setup using yast etherything appears to be correct with regards to hostname, domain name, etc .&lt;BR /&gt;&lt;BR /&gt;At this point I do not need to be be concerned about the routing table as the DNS server, linux server and other hosts are all on a local network.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Feb 2005 04:29:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888089#M86890</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2005-02-28T04:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888090#M86891</link>
      <description>Is there a local bind daemon running on the linux box?&lt;BR /&gt;&lt;BR /&gt;If so, check to see if it is serving a .local zone, its a bit of a stretch but could be a problem.&lt;BR /&gt;&lt;BR /&gt;Another thing to check would be the nscd, perhaps the caching daemon is breaking things.&lt;BR /&gt;&lt;BR /&gt;I agree with you, the problem is that your linux box is not appending a domain name, whether thats because it doesn't recognize .local as a tld, or if there is an empty hostname file is yet to be determined.&lt;BR /&gt;&lt;BR /&gt;On my debian system there is a hostname file, I have my fqdn in there.  Specifically:&lt;BR /&gt;&lt;BR /&gt;bofh.demoni.ca:/etc# cat /etc/hostname&lt;BR /&gt;bofh.demoni.ca&lt;BR /&gt;bofh.demoni.ca:/etc#&lt;BR /&gt;&lt;BR /&gt;I don't fully understand why you would use a domain ending with .local, is that from an RFC regarding internal dns?&lt;BR /&gt;&lt;BR /&gt;I've found it easier in the past just to use a real domain, or a subdomain of a real domain, is that not possible in this case?  &lt;BR /&gt;&lt;BR /&gt;Does the windows domain use a .local address space as well?&lt;BR /&gt;&lt;BR /&gt;The reason I suggest that is because I'm not sure if something is choking on having a tld of local.  I'm going to look through the RFC's to see if they have any suggestions or warnings.&lt;BR /&gt;&lt;BR /&gt;--Dave</description>
      <pubDate>Mon, 28 Feb 2005 10:12:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888090#M86891</guid>
      <dc:creator>Dave Falloon</dc:creator>
      <dc:date>2005-02-28T10:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888091#M86892</link>
      <description>Hey here's a link to some instructions on OSX, may be helpful in this case, might not:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.afp548.com/article.php?story=20041228092123788" target="_blank"&gt;http://www.afp548.com/article.php?story=20041228092123788&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;--Dave</description>
      <pubDate>Mon, 28 Feb 2005 10:24:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888091#M86892</guid>
      <dc:creator>Dave Falloon</dc:creator>
      <dc:date>2005-02-28T10:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888092#M86893</link>
      <description>There are often many places that information like hostnames, domainnames can hide.&lt;BR /&gt;Can I ask how the machine was configured? Were the entries for hostname, dns, etc. entered at install time, with sys-unconfig (or similar), or were the entries done manually?&lt;BR /&gt;&lt;BR /&gt;PS: The domainname command is related to NIS, it has nothing to do with the DNS domain name.</description>
      <pubDate>Mon, 28 Feb 2005 11:56:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888092#M86893</guid>
      <dc:creator>Paul Cross_1</dc:creator>
      <dc:date>2005-02-28T11:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888093#M86894</link>
      <description>We are not running any local bind/named services on the server. The /etc/nscd.conf file has the following:&lt;BR /&gt;enable-cache            hosts           no&lt;BR /&gt;positive-time-to-live   hosts           3600&lt;BR /&gt;negative-time-to-live   hosts           20&lt;BR /&gt;suggested-size          hosts           211&lt;BR /&gt;check-files             hosts           yes&lt;BR /&gt;so I don't believe cache is a problem.&lt;BR /&gt;&lt;BR /&gt;I've checked thge link regarding OSX but the man 5 resolver on SuSe indicates resolver uses /etc/resolv.conf and not a etc/resolver/nnn.local file.&lt;BR /&gt;&lt;BR /&gt;In answer to the question about sysconfig, I manually edited the relevent files on both working and non-working servers.&lt;BR /&gt;&lt;BR /&gt;I am now seriosly begining to wonder whether the problem is at the Windows 2003 server end as the person who set that up has very little knowledge on what he is doing and just followed an idiots guide from the web.</description>
      <pubDate>Mon, 28 Feb 2005 12:22:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888093#M86894</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2005-02-28T12:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888094#M86895</link>
      <description>Since the 2003 server is suspect, what happens if you try stuff on it?  Could be informative...&lt;BR /&gt;&lt;BR /&gt;Mic</description>
      <pubDate>Tue, 01 Mar 2005 00:08:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888094#M86895</guid>
      <dc:creator>Mic V.</dc:creator>
      <dc:date>2005-03-01T00:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888095#M86896</link>
      <description>And now for some shooting in the dark:&lt;BR /&gt;&lt;BR /&gt;I would definitely try using sys-unconfig (or yast2) to configure the relevant networking. I have found that manual configurations can burn your butt in many cases. Yast will know exactly what to change.</description>
      <pubDate>Tue, 01 Mar 2005 09:34:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888095#M86896</guid>
      <dc:creator>Paul Cross_1</dc:creator>
      <dc:date>2005-03-01T09:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888096#M86897</link>
      <description>Tried reconfiguring with yast2 with no effect. The only change yast2 appeared to make was to remove the line:&lt;BR /&gt;domain xxx.local from etc/resolv.conf&lt;BR /&gt;I presume that this is because we hold the FQDN within etc/hosts.&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Mar 2005 09:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888096#M86897</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2005-03-01T09:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888097#M86898</link>
      <description>John,&lt;BR /&gt;I don't know if this will solve anything for you but I am going to throw it out. Another admin and myself have been working on the SAME problem on SuSE Professional 9.2 for longer than either of us are willing to admit.  The symptoms were identical to what you were/are experiencing.&lt;BR /&gt;&lt;BR /&gt;I was really hoping for a resolution at the end of your post to solve mine.  Who knows this may indeed be it.&lt;BR /&gt;&lt;BR /&gt;Take a look at this link........&lt;BR /&gt;&lt;A href="http://support.novell.com/techcenter/tips/10034.html" target="_blank"&gt;http://support.novell.com/techcenter/tips/10034.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Our glibc was already higher than the one mentiones so we simply added the entry to the /etc/host.conf file and the damn thing worked immediately.  We were able ping by short host name and FQDN with ease.  Telnet worked immediately.  Hope this helps &lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 08 Mar 2005 13:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888097#M86898</guid>
      <dc:creator>Charles Holland</dc:creator>
      <dc:date>2005-03-08T13:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888098#M86899</link>
      <description>Charles,&lt;BR /&gt;&lt;BR /&gt;Many thanks for this link. Unfortunatly we have glibc version 2.3.3-98.28 not .38 but when I added the line into /etc/host.conf as a test, it imediatly reported:&lt;BR /&gt;/etc/host.conf: line 16: bad command `mdns off'&lt;BR /&gt;&lt;BR /&gt;I believe once we have upgraded to SP1 then this will work. It's a bit more work to upgrade but it will be a lot less hassle than manually keeping /etc/hosts upto date.</description>
      <pubDate>Wed, 09 Mar 2005 02:45:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888098#M86899</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2005-03-09T02:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: ping xxx  - returns unknow host xxx</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888099#M86900</link>
      <description>Just to confirm, THIS DOES WORK !!!!!!. &lt;BR /&gt;Finally found the glibc rpm for ppc and installed the package, modified host.conf and hey presto ping telnet ftp all work.&lt;BR /&gt;&lt;BR /&gt;Once again Charles, many thanks for your assistance, I'm sure I would never have found this without your help.</description>
      <pubDate>Wed, 16 Mar 2005 08:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ping-xxx-returns-unknow-host-xxx/m-p/4888099#M86900</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2005-03-16T08:01:18Z</dc:date>
    </item>
  </channel>
</rss>

