Koozali.org: home of the SME Server

Adding DNS servers

Chris Woods

Adding DNS servers
« on: June 19, 2003, 05:48:33 PM »
This is probably a basic question but here goes.

I'm running SME 5.6 in gateway mode using PPPOE to connect to the net.  How do I point to addtional DNS servers?

tks in advance


Chris

Charlie Brady

Re: Adding DNS servers
« Reply #1 on: June 19, 2003, 08:26:39 PM »
Chris Woods wrote:

> I'm running SME 5.6 in gateway mode using PPPOE to connect to
> the net.  How do I point to addtional DNS servers?

You don't need to. Your system already resolves via all the root DNS servers (and all delegated name servers from there). Why do you thing you need additional DNS servers?

Charlie

Graeme Fleming

Re: Adding DNS servers
« Reply #2 on: June 19, 2003, 09:47:01 PM »
Hi Chris, Charlie, & all

I have a scenario where I must use an extra DNS, it goes like this:

Client system is setup with their FQDN so its simple to move to hosting ther own mail server in the near future.  Clients website is hosted with the ISP on an Apache vitual server.  If I point the www entry in the hostnames to the IP of the virtual server it hits a redirect page that takes you to the ISP homepage.

With the host www removed from the panel the system just returns an error saying not found as it is authorative for this domain and it doesn't know about it.

In order for this setup to function the system must be made aware that there is another DNS server that can resolve the www entry if it doesn't exist on this DNS server; I acheived this by hacking around the named.conf and adding in a forwarder entry - a very crude and temporary solution until I can come up with something better.

BTW - as the named.conf is chrooted the /etc/named.conf is a link to the real named.conf; this makes adding custom templates and then expanding tedious as it recreates the named.conf actually in/etc so each time you have to move the new on and recreate the link.

Anyone with a better, more robust, and clean solution??

All contributions welcome :-)

Boris

Re: Adding DNS servers
« Reply #3 on: June 20, 2003, 04:28:46 AM »
You can point your www host to the real webserver (at ISP) by changing the entry in the "Host Names and Addresses" or login to console as admin( not root) and run "configure this server" menu. You will have one of the pages allow you to specify another DNS server.

Charlie Brady

Re: Adding DNS servers
« Reply #4 on: June 20, 2003, 10:11:53 PM »
Boris wrote:
 
> You can point your www host to the real webserver (at ISP) by
> changing the entry in the "Host Names and Addresses" or login
> to console as admin( not root) and run "configure this
> server" menu. You will have one of the pages allow you to
> specify another DNS server.

Those are two very different things. The admin console screen is to delegate *all* DNS to the specified DNS server - there will be no local DNS management in that case. Setting "www" in the H&A panel is correct here.

Charlie

Boris

Re: Adding DNS servers
« Reply #5 on: June 20, 2003, 10:46:36 PM »
This is correct.
I only suggested the second option in case that he still wants to delegate "all" the DNS functions to another server.
Sorry for not being clear enough.
Boris.