5 posts / 0 new
Last post
#1 Sun, 11/18/2007 - 14:14
xkeywee

DNS Server

Hi

I recently bought Virtualmin Pro. The first time we loaded it we made a mess of it and nothing seemed to work, we tried all sorts of things and got some advice from here but we were getting all sorts of errors.

We did a clean install again and this time it installed bueatifully and have not had an error message, we are very pleased with the installation.

I have got everything setup but my DNS Server does not seem to be working. I have created a master Virtual Server and edited the records in Bind DNS and as far as I can tell it is all set up correctly.

I have had my registrar create the following host records ns1.cybernamixqld.com - 60.234.78.35 ns2.cybernamixqld.com - 60.234.78.36

I have setup the eth0 as IP Address 60.234.78.35 and eth0 (virtual) as 60.234.78.36.

I can access the server via both IP Addresses.

The server is called sv1.cybernamixqld.com in Hostname and DNS Client - Network Configuration

This is the records file from cybernamixqld.com

$ttl 38400 cybernamixqld.com. IN SOA ns1.cybernamixqld.com greg.cybernamix.com. ( 1194477877 10800 3600 604800 38400 ) cybernamixqld.com. IN NS ns1.cybernamixqld.com. cybernamixqld.com. IN A 60.234.78.35 www.cybernamixqld.com. IN A 60.234.78.35 ftp.cybernamixqld.com. IN A 60.234.78.35 m.cybernamixqld.com. IN A 60.234.78.35 mail.cybernamixqld.com. IN A 60.234.78.35 cybernamixqld.com. IN MX 5 mail.cybernamixqld.com. cybernamixqld.com. IN TXT "v=spf1 a mx a:cybernamixqld.com ip4:60.234.78.35 ?all" ns1.cybernamixqld.com. IN A 60.234.78.35 ns2.cybernamixqld.com. IN A 60.234.78.36 cybernamixqld.com. IN NS ns2.cybernamixqld.com.

I know it is propably something I have missed etc and I appreciatte anyones time who can assist me as I am getting frustrated.

Thanks again Greg

Sun, 06/07/2009 - 07:17
Joe
Joe's picture

Nice support request, Greg. Everything I need to know to be able to help is right there. (It's rare enough to be worth commenting on.) ;-)

OK, so, troubleshooting DNS goes like this:

Is the registrar serving the right name servers?

$ whois cybernamixqld.com

Domain servers in listed order:
NS1.CYBERNAMIXQLD.COM 60.234.78.35
NS2.CYBERNAMIXQLD.COM 60.234.78.36

Yes, awesome. Are the name servers serving the right data:

$ host cybernamixqld.com 60.234.78.35
;; connection timed out; no servers could be reached

Hmmm...no. So there's a problem.

Check to see if BIND is running:

ps auxc | grep named

Got a firewall blocking port 53? If it's behind a NATting firewall, is that port being forwarded?

Does it work locally? (i.e. if you run the host command on the system itself.)

--

Check out the forum guidelines!

Mon, 11/19/2007 - 15:21
xkeywee

Thanks

Yes BIND is definettly running.

I ran the command locally and got

sv1:~# host cybernamixqld.com 60.234.78.35
Using domain server:
Name: 60.234.78.35
Address: 60.234.78.35#53
Aliases:

cybernamixqld.com has address 60.234.78.35
cybernamixqld.com mail is handled by 5 mail.cybernamixqld.com.

So it looks like a firewall problem.

I will talk to the firewall administrator and see if he can fix it

Thanks again
Greg

Mon, 11/19/2007 - 16:03
xkeywee

Hi
We are having trouble getting the firewall to not block it.

We have put in the following but it still seems blocked.

ACCEPT net dmz:60.234.78.35 tcp 53

Can you tell me what we should set?

Cheers
Greg

Mon, 11/19/2007 - 16:37
xkeywee

Don't worry, we have fixed it.

Thanks again for your great support.

Topic locked