Chris on Fri, 12 Sep 2003 10:05:17 -0400 |
If you want to use just hostname, you will have to add it to your host file. echo "x.x.x.x xyz.domain.com xyz" >> /etc/hosts dns will always pend the domain to the host, but etc/hosts wont. -----Original Message----- From: plug-admin@lists.phillylinux.org [mailto:plug-admin@lists.phillylinux.org] On Behalf Of Sijian Zhou Sent: Friday, September 12, 2003 9:31 AM To: plug@lists.phillylinux.org Subject: [PLUG] Re: DNS trouble shooting and DHCP/DNS connection (Chad Waters) On Thu, 11 Sep 2003 11:18:39 -0400 Chad Waters wrote: >> 2. I have a hostname xyz defined in DNS. At DNS >> client, I can ping xyz.mydomain.com. However I can't >> ping xyz. Error message: ping: unknown host xyz. >Add: >search mydomain.com. >to /etc/resolve.conf on the querying machine. I added mydomain.com to the /etc/resolv.conf, it gives me same error message. the /etc/resolv.conf file looks like this: nameserver 192.168.1.2 nameserver 68.82.0.6 nameserver 68.82.0.5 search mydomain.com search wchstr01.ps.comcast.com Sijian Zhou __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ________________________________________________________________________ _ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce General Discussion -- http://lists.netisland.net/mailman/listinfo/plug _________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
|
|