[solved] Bind DNS does not allow to transfer zones to a slave DNS

2 posts / 0 new
Last post
#1 Wed, 02/03/2010 - 07:58

[solved] Bind DNS does not allow to transfer zones to a slave DNS


I'm using Virtualmin 3.76.gpl on my Debian 5.0.3 and I want to set up a Master DNS on this machine with option to transfer zones to a free DNS service based on xname at http://freedns.sgh.waw.pl/ where it would be my slave DNS.

So I've set up a domain foo.com by creating virtual server (Virtualmin auto created a zone for the domain) and adjusted the zone for my needs. My zone looks like that:


$ttl 15M
foo.com. IN SOA foo.com. admin.foo.com. (
15M )
@ IN NS foo.com.
@ IN NS fns1.sgh.waw.pl.
@ IN NS fns2.sgh.waw.pl.
@ IN A
www.foo.com. IN A
admin.foo.com. IN A
webmail.foo.com. IN A
foo.com. IN TXT "v=spf1 a mx a:foo.com ip4: ?all"
foo.com. IN PTR


zone "foo.com" {
type master;
file "/var/lib/bind/foo.com.hosts";
allow-transfer {;;
notify yes;
also-notify {;;
check-names warn;
allow-update {;;
}; and are IP's of freeDNS service.

In my opinion this configuration should allow to get the "copy" of zone from foo.com to DNSs which addresses are and am I right or not? Meanwhile DiG commands show this results:

eserver:~# dig @foo.com foo.com axfr

; <<>> DiG 9.5.1-P3 <<>> @ foo.com axfr
; (1 server found)
;; global options: printcmd
; Transfer failed.


eserver:~# dig @ foo.com axfr -b

dig: isc_socket_bind: address not available

Can someone help me before my head is getting burst?

Sun, 02/07/2010 - 16:53

Weird, all i had to do is:

$ pstree //so I could see the processes of named - it was 10 of them
$ killall named //killed all of them
and started Bind9 via Virtualmin by clicking Start Bind in top right corner

Still have no clue why it wasn't working before. Maybe by stopping and starting Bind by clicking the link in Virtualmin some processes connected with Bind9 aren't being killed and keeping some configs?

Right now, even if I add some new Virtual server with old/new domain with creating DNS zone it's working without killall named.

Topic locked