Koozali.org: home of the SME Server

Dns Problem

cosmin

Dns Problem
« on: September 07, 2005, 12:00:10 AM »
Hi, I need to have a PRIMARY MASTER DNS for my domain and secondary DNS to be at my ISP. I have SME Server 7 alpha 14 and i dont know how to make this modifications (i am a beginner in linux world). Now the DNS daemon in my SME Server resolve only request from internal network (and i need it to resolve both networks). Thanks

Offline dmac

  • ****
  • 143
  • +0/-0
    • http://www.rylar.ca
Dns Problem
« Reply #1 on: September 07, 2005, 02:44:14 PM »
Cosmin,

How is your network setup?  Do you have two NIC's in the SME and have it in Gateway/Server mode?  If so, it should work.  The SME Server should forward requests that it doesn't know about the the external NIC and out to your ISP's DNS.

Where are your workstations getting their IP address from?  Are you using the DHCP that is supplied with the SME Server?  You can add the second DNS server to the COnfiguration of your workstation manually, or add it as part of the DHCP setup.

Darin
"In a world without Fences, why do we need Gates and Windows"

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Dns Problem
« Reply #2 on: September 07, 2005, 05:31:02 PM »
Quote from: "dmac"

How is your network setup?  Do you have two NIC's in the SME and have it in Gateway/Server mode?  If so, it should work.  The SME Server should forward requests that it doesn't know about the the external NIC and out to your ISP's DNS.


No, not to the ISP's DNS, but to the same global DNS which the ISP's DNS servers query. Most client workstations (Windows, Mac, linux) don't have a full DNS resolver, and need to direct DNS queries to a system which does have one. ISPs provide those servers. The SME server has its own resolver, and doesn't need to use the one that the ISP provides.


Quote

Where are your workstations getting their IP address from?  Are you using the DHCP that is supplied with the SME Server?  You can add the second DNS server to the COnfiguration of your workstation manually, or add it as part of the DHCP setup.


Adding a second DNS server which provides different information will only confuse things. The original poster should explain why he thinks he needs to enter DNS information at all. Usually it's not required. Why does he "need to have a PRIMARY MASTER DNS for my domain"?

Offline dmac

  • ****
  • 143
  • +0/-0
    • http://www.rylar.ca
Dns Problem
« Reply #3 on: September 07, 2005, 08:15:15 PM »
Quote
Adding a second DNS server which provides different information will only confuse things.

Adding a Second DNS IP shouldn't confuse things, from my experience, if the primary DNS cannot resolve the Address or is unavailable then the Secondary DNS will try.

I agree with your comments about the ISP DNS, was trying to keep it simplified.  I understand that the SME Server will attempt to resolve the address from the Top Level Domains, and probably should had written as such.

Cheers,

Darin
"In a world without Fences, why do we need Gates and Windows"

cosmin

Dns Problem
« Reply #4 on: September 08, 2005, 12:34:04 AM »
My ISP wont add resolve my domain for me unless i use their servers for hosting my site.
So they told me to setup a primary master dns that will respond in internet and create a pointer from my domain name -> to my ip. But the SME Server (wich is in Gateway mode) respond only in internal network (and yes i have 2 nic). I have a red hat 9 "named.conf" file - but SME use tinydns not bind so cant just put in there and use it... and i dont have a clue what to do.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Dns Problem
« Reply #5 on: September 08, 2005, 12:49:56 AM »
Quote from: "cosmin"
My ISP wont add resolve my domain for me unless i use their servers for hosting my site.
So they told me to setup a primary master dns that will respond in internet and create a pointer from my domain name -> to my ip.


What you need to do is have your domain name DNS configured and managed by one of the many inexpensive (or free) services out there. Search or ask here for recommendations. Don't do public DNS on the SME server.

You don't need anything special in the SME server configuration.

Offline gregswallow

  • *
  • 651
  • +1/-0
Dns Problem
« Reply #6 on: September 08, 2005, 07:33:26 AM »
Everydns.net has worked well for me (and is free).  Zoneedit.com is another free one.

cosmin

Dns Problem
« Reply #7 on: September 13, 2005, 09:31:03 AM »
Thanks,

   For now i fix it with external DNS resolving, but no one here really knows how to setup a local DNS (like the ISP use - which respond on internet requests)?