Welcome, Guest
Please Login or Register.
Lost Password?
BInd running, but won\'t resolve? (1 viewing)
Post Reply

TOPIC: BInd running, but won\'t resolve?

#16073
lkhnet (User)
Posts: 15
graphgraph
BInd running, but won't resolve? 2008/09/03 12:23  
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...



Post edited by: lkhnet, at: 2008/09/03 12:26
  The administrator has disabled public write access.
#16075
ronald (User)
Posts: 511
graphgraph
Re:BInd running, but won't resolve? 2008/09/03 14:08  
"if input interface is not eth0"
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
  The administrator has disabled public write access.
#16077
Joe (Admin)
Posts: 4124
graph
Re:BInd running, but won't resolve? 2008/09/03 15:27  
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.
  The administrator has disabled public write access.
#16087
lkhnet (User)
Posts: 15
graphgraph
Re:BInd running, but won't resolve? 2008/09/04 05:38  
Thanks guys, seemed to have got it sorted now... :)
  The administrator has disabled public write access.
#16097
ronald (User)
Posts: 511
graphgraph
Re:BInd running, but won't resolve? 2008/09/04 12:03  
would you mind telling what it was for future reference?
thanks and grats on resolving
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.