Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Danny Wong on November 30, 2002, 08:11:20 AM

Title: unknown host when trying to ping on SME Server
Post by: Danny Wong on November 30, 2002, 08:11:20 AM
I am trying to get name resolution while pinging on my SME server.  I have my ISP DNS server's IP listed as the Master DNS server, but I still get unknown host when trying to ping domain names.  Pinging IP addresses works fine.  Any suggestions?
Title: Re: unknown host when trying to ping on SME Server
Post by: guestHH on November 30, 2002, 08:19:29 AM
What version of SME are you running?
Title: Re: unknown host when trying to ping on SME Server
Post by: Danny Wong on November 30, 2002, 08:29:15 AM
SME Server 5.5
Title: Re: unknown host when trying to ping on SME Server
Post by: guestHH on November 30, 2002, 08:31:17 AM
how does '/etc/resolve.conf' look like?
Title: Re: unknown host when trying to ping on SME Server
Post by: Danny Wong on November 30, 2002, 08:38:36 AM
------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# e-smith server and gateway software. Instead, modify the source
# template in the /etc/e-smith/templates directory. For more
# information, see http://www.e-smith.org.
#
# copyright (C) 1999, 2000 e-smith, inc.
#------------------------------------------------------------
domain mydomain.com
nameserver 127.0.0.1


#------------------------------------------------------------
# TEMPLATE END
#------------------------------------------------------------
Title: Re: unknown host when trying to ping on SME Server
Post by: guestHH on November 30, 2002, 08:44:31 AM
You said:

I have my ISP DNS server's IP listed as the Master DNS server

Where did you do this? If you did this in the intial configuration, do it again and leave it blank.
Title: Re: unknown host when trying to ping on SME Server
Post by: Danny Wong on November 30, 2002, 08:47:33 AM
Ok, then what?   Can you no longer assign a Master DNS server from the admin utility in SME 5.5?
Title: Re: unknown host when trying to ping on SME Server
Post by: guestHH on November 30, 2002, 08:53:19 AM
Well 5.5 is it's own DNS talking direcly with the root servers on the net. So give it a try ans leave it blank.
Title: Re: unknown host when trying to ping on SME Server
Post by: guestHH on November 30, 2002, 08:53:35 AM
Well 5.5 is it's own DNS talking directly with the root servers on the net. So give it a try ans leave it blank.
Title: Re: unknown host when trying to ping on SME Server
Post by: Danny Wong on November 30, 2002, 09:20:13 AM
ok, so if I remove the entry, and add the DNS IP in /etc/resolve.conf in place of 127.0.0.1 it works.  How can I permenately modify this file?  Where do I put/name the custom template, and how do I get it to use it?
Title: Re: unknown host when trying to ping on SME Server
Post by: Bob Todd on December 01, 2002, 04:49:02 AM
custom templates gonna  be in /etc/e-smith/templates-custom iirc. Do a search on here for how to activate it. There are dozens of similiar posts to do with custom template files - remember and set it for more than last 30 days when you run the search.