BInd running, but won't resolve?

5 posts / 0 new
Last post
#1 Wed, 09/03/2008 - 12:23
lkhnet

BInd running, but won't resolve?

Hi all,

Previously, I've been running Windows 2003 but thought it was about time that I migrated over to Linux. I've chosen Ubuntu 8.04.

I was running a Web, FTP, Mail and DNS server on 2003, but have managed to sucessfully migrate everything over except for the DNS side of things.

Ubuntu is managing the mail, web and ftp server but the 2003 box is still being the name server for the couple of domains I have. Wanting to totally move over my latest phase is to get BIND up and running to manage the DNS.

Virtualmin pro created the domains for me automatically upon domain creation, so I have changed the name servers in my registrars control panel but after 3 days the domain still won't resolve. I can ping the IP, but not the domain name, and when I run a WHOIS I'm seeing the correct details there.

As the DNS side of things is pretty much how it was automatically set up I'm wondering if it's IPtables, which I have played about with, is blocking it.

Here is the zone file;

$ttl 38400 @ IN SOA server1. root.server1. ( 1220121148 10800 3600 604800 38400 ) @ IN NS ns1.domain.co.uk @ IN NS ns2.domain.co.uk domain.co.uk. IN A 78...* www.domain.co.uk. IN A 78...* ftp.domain.co.uk. IN A 78...* m.domain.co.uk. IN A 78...* localhost.domain.co.uk. IN A 127.0.0.1 webmail.domain.co.uk. IN A 78...* ns1.domain.co.uk. IN A 78...* ns2.domain.co.uk. IN A 78...* admin.domain.co.uk. IN A 78...* mail.domain.co.uk. IN A 78...* domain.co.uk. IN MX 5 mail.domain.co.uk. domain.co.uk. IN TXT "v=spf1 a mx a:domain ip4:78...* ?all"

If that looks correct to you then could you please let me know what you think of the Linux Firewall module screenshot below... Any advice would be very welcome...

[img]http://www.members.aol.com/uk1liam/iptables.jpg [/img]<br><br>Post edited by: lkhnet, at: 2008/09/03 12:26

Wed, 09/03/2008 - 14:08
ronald
ronald's picture

&quot;if input interface is not eth0&quot;
your uplink is on some other device then? Then why not: If input interface is eth1 or how ever the device is called on your box

try replacing port 53 with port domain (type domain where is 53) and click apply configuration

Wed, 09/03/2008 - 15:27 (Reply to #2)
Joe
Joe's picture

I don't see any reason to suspect iptables.

Have you run through the troubleshooting tips here:

http://www.virtualmin.com/documentation/id,dns_troubleshooting/

And here:

http://doxfer.com/Webmin/BINDTroubleshootingTools

That'll tell you if things are answering locally, and a lot of other useful data.

--

Check out the forum guidelines!

Thu, 09/04/2008 - 12:03 (Reply to #3)
ronald
ronald's picture

would you mind telling what it was for future reference?
thanks and grats on resolving

Thu, 09/04/2008 - 05:38
lkhnet

Thanks guys, seemed to have got it sorted now... :)

Topic locked