STARTING TWO NAMED, HOW DO I?

Kevin Darcy kcd at daimlerchrysler.com
Sat May 12 01:18:16 UTC 2001


What do you mean by only being able to "see" your server by IP address? Do you
mean you are trying to access your web server with a browser? From the inside
or the outside? If you use a lookup tool like "dig", what do you get? A
timeout? A SERVFAIL error? What?

If you had used the real domain name, maybe I could have helped diagnose the
problem remotely. But you used "mydomain.co.jp" which doesn't help at all.

The "unapproved AXFR" message are because you are restricting zone transfers.
Isn't this what you *wanted* to do? In any case, these messages are probably
unrelated to your main problem.

I'm not familiar with Mandrake, so I don't know the best way to start
nameservers on that platform. Wherever you would normally start a single
nameserver instance, replace it with that code to start multiple nameserver
instances. Find the place where nameservices are normally started up on
Mandrake. Ask a Mandrake list, if necessary. Don't just *guess* where to put
this, otherwise you may end up trying to start 3 instances of named or trying
to start up too early (e.g. before the interfaces are brought up) or too late
(e.g. after other processes have aborted because they timed out trying to
resolve names).


- Kevin

romsun wrote:

> 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