Thread: DNS problem
View Single Post
  #7  
Old 11th September 2011, 16:34
(O)fer_cz (O)fer_cz is offline
Junior Member
 
Join Date: Sep 2011
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default



unfortunately, problem is still same.

if you think last NS record, its name: my-product-domain.tld data: ns1.my-main-hosting-domain-running-ispc.tld

Quote:
root@ns1:/etc/bind# cat named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
root@ns1:/etc/bind# cat named.conf.local
zone "xxxxx.cz" {
type master;
allow-transfer {none;};
file "/etc/bind/pri.xxxxx.cz";
};
zone "yyyyy.com" {
type master;
allow-transfer {none;};
file "/etc/bind/pri.ccccc.com";
};
zone "ns1.xxxxx.cz" {
type master;
allow-transfer {none;};
file "/etc/bind/pri.ns1.xxxxxxxx.cz";
};
Quote:
root@ns1:/etc/bind# ls
bind.keys db.local named.conf.options rndc.key
db.0 db.root pri.xxxxx.cz slave
db.127 named.conf pri.yyyyy.com zones.rfc1918
db.255 named.conf.default-zones pri.ns1.xxxx.cz
db.empty named.conf.local pri.xxxxx.cz
Quote:
root@ns1:/etc/bind# cat pri.xxxxx.cz
$TTL 86400
@ IN SOA ns1.xxxxxx.cz. info.xxxxxxx.cz. (
2011091113 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;

ns1 86400 A 111.222.333.444
ns2 86400 A 111.222.333.555

root@ns1:/etc/bind#

Last edited by (O)fer_cz; 11th September 2011 at 16:42.
Reply With Quote