DNS setup problem with virtualmin

4 posts / 0 new
Last post
#1 Thu, 07/02/2009 - 09:24
sefs

DNS setup problem with virtualmin

I have clicked on the webmin part of virtual min and have set up a dns zone in bind adding up to 11 records....

my zone file looks like this

$ttl 38400
@   IN  SOA fshzimbra. fshzimbra.hotmail.com. (
            1246504580
            10800
            3600
            604800
            38400 )
@   IN  NS  fshzimbra.
zimbratest.lan. IN  TXT "v=spf1 a mx a:zimbratest.lan ip4:192.168.1.60 ?all"
zimbratest.lan. IN  A   192.168.1.60
www.zimbratest.lan. IN  A   192.168.1.60
ftp.zimbratest.lan. IN  A   192.168.1.60
m.zimbratest.lan.   IN  A   192.168.1.60
localhost.zimbratest.lan.   IN  A   127.0.0.1
webmail.zimbratest.lan. IN  A   192.168.1.60
mail.zimbratest.lan.    IN  A   192.168.1.60
admin.zimbratest.lan.   IN  A   192.168.1.60
zimbratest.lan. IN  MX  5 mail.zimbratest.lan.

I can only ping zimbratest.lan

I cant't ping say ftp.zimbratest.lan and so on

What am i missing.

Thanks.

Thu, 07/02/2009 - 09:33
andreychek

Howdy,

You'll need to make sure that you restarted BIND after adding those records (there should be an "Apply" button in there somewhere).

Also, that would only work if the machine you're doing the ping from is using that server as a DNS server.

-Eric

Thu, 07/02/2009 - 10:14
sefs

Thank you.

I also had something called use dnsmasq for dns on in the router. Once I unchecked that ... It began to use the correct dns servers in the listed order.

Thu, 07/02/2009 - 10:54
ronald
ronald's picture

dnsmasq is a lightweight dns and dhcp server for a small lan network and can conflict with full blown BIND. I use it on my small home server and it's fast for such situation.

Topic locked