Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 12:27:08 -0400
From:      "Peter Brezny" <peter@skyrunner.net>
To:        <freebsd-net@freebsd.org>
Subject:   dual dns resolution problem
Message-ID:  <NNEHJMNKGDNGPMJJFHCBAEDECDAA.peter@skyrunner.net>

next in thread | raw e-mail | index | archive | help
The Problem:

Applications seem unable to resolve dns information.
ssh and sendmail are examples.

Example:

%ssh novell.com
ssh: novell.com: Non-recoverable failure in name resolution

%nslookup novell.com
Server:  localhost.inside-polk.skyrunner.net
Address:  127.0.0.1

Name:    novell.com
Address:  192.233.80.9

I've got a system running two versions of bind, to handle resolution of
public address and their component private addresses for public ip's that
use static nat to hit an internal address.

dig and nslookup work fine, and you can choose which instance of bind to use
to lookup since they each only listen on particular ip's.

Has anyone seen this problem before?  I feel sure that it arises from having
two instances of bind running on the same machine.  I've attached the
options section of each independent instance's named.conf file at the bottom
of this message.


Thanks for your help!


Peter Brezny
Skyrunner.net


Internal instance:
// $FreeBSD: src/etc/namedb/named.conf,v 1.6.2.2 2001/03/05 13:34:52 asmodai
Exp $
//

options {
        directory "/etc/namedb-int";

        forwarders {
                63.167.198.158;
                205.152.121.3;
                205.152.121.2;
        };

        allow-query     { 10.0.0.0/8; 127.0.0.1; };
        query-source address 10.3.0.1 port 53;

        allow-transfer { 10.0.0.0/8; };
        transfer-source 10.3.0.1;

        listen-on { 10.3.0.1; 10.100.100.1; 127.0.0.1; };

        dump-file "s/named_dump.db";
        pid-file "s/named.pid";

};      //end of options

controls { unix "/var/run/ndc-internal" perm 0660 owner 0 group 53; };


External Instance:
// $FreeBSD: src/etc/namedb/named.conf,v 1.6.2.2 2001/03/05 13:34:52 asmodai
Exp $
//

options {
        directory "/etc/namedb";

        forwarders {
                205.152.121.3;
                205.152.121.2;
        };

query-source address 63.167.198.158 port 53;
transfer-source 63.167.198.158;
allow-transfer { none; };

listen-on { 63.167.198.158; 63.167.198.153; };

dump-file "s/named_dump.db";
pid-file "s/named.pid";

};      //end of options

controls { unix "/var/run/ndc-external" perm 0660 owner 0 group 53; };


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NNEHJMNKGDNGPMJJFHCBAEDECDAA.peter>