STARTING TWO NAMED, HOW DO I?

romsun romsun at cts.ne.jp
Sat May 12 00:55:29 UTC 2001


I am connected to my ISP with cable modem
from its cable TV Network.   I got both internal
and external IP (10.2.212.1-14 and 210.*.*.129-42).
To get my domain working, my ISP asked me to
start two named with different config file
for internal and external zone file.
The asked me to insert the following command in  a script :
-------------------------------------------------------------------
if [ -f /usr/local/sbin/named -a -f /usr/local/etc/named.conf.ext ]; then
  /usr/local/sbin/named -c /usr/local/etc/named.conf.ext;
 echo "starting internet domain name server for global network."
fi

if [ -f /usr/local/sbin/named -a -f /usr/local/etc/named.conf.int ]; then
 /usr/local/sbin/named -c /usr/local/etc/named.conf.int;
 echo "starting internet domain name server for local network."
fi
-------------------------------------------------------------------
I dont know which file I should  insert the command, because
I use Linux Mandrake 6.1
NOTE:
1. The only think I can do is copying file :
etc/rc.d/init.d/named to etc/rc.d/init.d/namedext.
Then I add it in a runlevel 4 and 5.
I also make a copy of named.conf to named.conf.ext and
make some changes.
2. I can see my server ONLY with its IP, not its name :
mydomain.co.jp)
3. The error message :
May 12 09:38:34 home named[408]: unapproved AXFR from [172.18.1.7].44955 for
"KB.212.2.10.
in-addr.arpa" (acl)
May 11 23:25:33 home named[406]: unapproved AXFR from [172.18.1.7].42900 for
"mydomain.co.jp"
(acl)

ANY REPLY IS VERY APPRECIATED !!
THANKS
romsun



More information about the bind-users mailing list