Koozali.org: home of the SME Server

DNS Setting

kokomi

DNS Setting
« on: July 20, 2005, 07:55:58 AM »
In the review page, the DNS server is listed as itself.  Is there anyway to force that to another ip address.  Additionaly, if the SME server looks to itself for DNS resolution, how does it resolve internet domain names?  Does the DNS request get passed to the default gateway?
-Ken

egerards

DNS Setting
« Reply #1 on: July 20, 2005, 09:11:07 PM »
Quote
Is there anyway to force that to another ip address.

Simply logon as user admin via the console or ssh and the SME server console will be started. Choose 'Configure this server' and at some point you will be asked whether another DNS server does the resolving for your network. Here you can choose an alternative DNS server.

However do keep in mind that your SME server is a full featured DNS server which does resolving as well as your isp's DNS servers. It does it the same way as any other DNS server.

kokomi

DNS Setting
« Reply #2 on: July 20, 2005, 10:01:27 PM »
Thanks for you reply but I have no such option when configuring the server.  After reading your post, I ran thru the config again and nothing about DNS.  I am running in Server Only mode.  Maybe that option is only available in Gateway mode.

egerards

DNS Setting
« Reply #3 on: July 20, 2005, 10:43:48 PM »
I just checked: one of the screens has the title "Select master DNS server address" followed by the text "You may need to specify an IP address here if there is a firewall between this server and the Internet, or if another DNS server resolves local addresses on your LAN.". Here you can fill in an alternative DNS server.

I am also running in Server only mode...

Offline kruhm

  • *
  • 680
  • +0/-0
DNS Setting
« Reply #4 on: July 21, 2005, 04:12:39 AM »
of course it depends on which version you're using. this feature was taken out of the newest beta/apha builds. check the SME FAQ's for more details

kokomi

DNS Setting
« Reply #5 on: July 21, 2005, 02:21:37 PM »
I am running smeserver-6.5RC1-i386.iso.

kokomi

DNS Setting
« Reply #6 on: July 21, 2005, 02:26:25 PM »
I found this in the Administration FAQ. Thanks for pointing my in the right direction.

How do I forward DNS name resolution requests to another DNS server anyway, in SME 6.5?
Beginning with SME Server 6.5, the ability to specify another DNS name server in the Server Manager was removed, because of the problems it was causing with end-users. SME is still able to forward name requests, and if you are sure you really need to do this, here's how:


Determine the IP of the DNS server you want to use. Of course this server must be one that the SME Server can 'see' on the network.
Open a terminal session and type:
/sbin/e-smith/config setprop dnscache Forwarder <enter the IP here (without the <>'s)>
/etc/e-smith/events/actions/dnscache-conf


To remove it do the following:


/sbin/e-smith/config delprop dnscache Forwarder
/etc/e-smith/events/actions/dnscache-conf