auricom
Verified User
Hello,
I have one linux box with DA. I want to set up ns1.mysite.com=IP1 and ns2.mysite.com=IP2.
I use DA 1.224 on redhat 9 platform.
After following setup thread in the forum, and help site I have:
- in admin » DNS Administration » Entry for mysite.com
ftp A IP1
kamino.fr. A IP1
localhost A 127.0.0.1
mail A IP1
pop A IP1
www A IP1
kamino.fr. NS ns1.mysite.com.
kamino.fr. NS ns2.mysite.com.
mail MX 10
- in admin » Administrator Settings
Server's Hostname box.mysite.com
NS1 ns1.mysite.com
NS2 ns2.mysite.com
but I have on named.conf:
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
include "/etc/rndc.key";
zone "mysite.com" { type master; file "/var/named/mysite.com.db"; };
and if I follow /var/named/mysite.com.db:
$TTL 14400
@ IN SOA ns1.mysite.com. root.mysite.com. (
2004082401
7200
3600
1209600
86400 )
mysite.com. 14400 IN NS ns1.mysite.com.
mysite.com. 14400 IN NS ns2.mysite.com.
ftp 14400 IN A IP1
mysite.com. 14400 IN A IP1
localhost 14400 IN A 127.0.0.1
mail 14400 IN A IP1
pop 14400 IN A IP1
www 14400 IN A IP1
mysite.com. 14400 IN MX 10 mail
So it seems that IP2 is not used.
How can I solve it please ?
Best Regards,
Auricom
I have one linux box with DA. I want to set up ns1.mysite.com=IP1 and ns2.mysite.com=IP2.
I use DA 1.224 on redhat 9 platform.
After following setup thread in the forum, and help site I have:
- in admin » DNS Administration » Entry for mysite.com
ftp A IP1
kamino.fr. A IP1
localhost A 127.0.0.1
mail A IP1
pop A IP1
www A IP1
kamino.fr. NS ns1.mysite.com.
kamino.fr. NS ns2.mysite.com.
mail MX 10
- in admin » Administrator Settings
Server's Hostname box.mysite.com
NS1 ns1.mysite.com
NS2 ns2.mysite.com
but I have on named.conf:
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
include "/etc/rndc.key";
zone "mysite.com" { type master; file "/var/named/mysite.com.db"; };
and if I follow /var/named/mysite.com.db:
$TTL 14400
@ IN SOA ns1.mysite.com. root.mysite.com. (
2004082401
7200
3600
1209600
86400 )
mysite.com. 14400 IN NS ns1.mysite.com.
mysite.com. 14400 IN NS ns2.mysite.com.
ftp 14400 IN A IP1
mysite.com. 14400 IN A IP1
localhost 14400 IN A 127.0.0.1
mail 14400 IN A IP1
pop 14400 IN A IP1
www 14400 IN A IP1
mysite.com. 14400 IN MX 10 mail
So it seems that IP2 is not used.
How can I solve it please ?
Best Regards,
Auricom