Koozali.org: home of the SME Server

unknown host when trying to ping on SME Server

Danny Wong

unknown host when trying to ping on SME Server
« 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?

guestHH

Re: unknown host when trying to ping on SME Server
« Reply #1 on: November 30, 2002, 08:19:29 AM »
What version of SME are you running?

Danny Wong

Re: unknown host when trying to ping on SME Server
« Reply #2 on: November 30, 2002, 08:29:15 AM »
SME Server 5.5

guestHH

Re: unknown host when trying to ping on SME Server
« Reply #3 on: November 30, 2002, 08:31:17 AM »
how does '/etc/resolve.conf' look like?

Danny Wong

Re: unknown host when trying to ping on SME Server
« Reply #4 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
#------------------------------------------------------------

guestHH

Re: unknown host when trying to ping on SME Server
« Reply #5 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.

Danny Wong

Re: unknown host when trying to ping on SME Server
« Reply #6 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?

guestHH

Re: unknown host when trying to ping on SME Server
« Reply #7 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.

guestHH

Re: unknown host when trying to ping on SME Server
« Reply #8 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.

Danny Wong

Re: unknown host when trying to ping on SME Server
« Reply #9 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?

Bob Todd

Re: unknown host when trying to ping on SME Server
« Reply #10 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.