Re: Could not reverse map

From: Ramin Dousti (ramin_at_cannon.eng.us.uu.net)
Date: 05/14/03

  • Next message: Andrew n marshall: "RE: Help with OpenSSH -> SSH2 Server"
    Date: Wed, 14 May 2003 15:39:22 -0400
    To: Bill Moseley <moseley@hank.org>
    
    

    Everything looks good. I don't know why it's not working but just
    to isolate the problem, what happens if you open up named to the
    world for mylan? Does it still have a problem? And, do you have
    any packet trace of the sshd <-> named traffic?

    Ramin

    > > You're explicitely asking dig to ask 127.0.0.1 to resolve.
    > > sshd uses resolve.conf. What are the entries there?
    >
    > Sorry for leaving that out:
    >
    >
    > moseley@mardy:~$ cat /etc/resolv.conf
    > search hank.org
    > nameserver 192.168.1.1
    >
    > 192.168.1.1 is host "mardy".
    >
    > moseley@mardy:~$ dig -x 192.168.1.2 @192.168.1.1 | grep bumby
    > 2.1.168.192.in-addr.arpa. 604800 IN PTR bumby.
    >
    > "mardy" has two interfaces. So try setting the source address with -b:
    >
    > moseley@mardy:~$ dig -b 192.168.1.1 -x 192.168.1.2 @192.168.1.1 | grep bumby
    > 2.1.168.192.in-addr.arpa. 604800 IN PTR bumby.
    >
    > moseley@mardy:~$ dig -b 63.205.225.170 -x 192.168.1.2 @192.168.1.1 | grep bumby
    > 2.1.168.192.in-addr.arpa. 604800 IN PTR bumby.
    >
    > Here's my named setup:
    >
    >
    > acl mylan { 127.0.0.0/8; 192.168.0.0/24; 192.168.1.0/24; 63.205.225.170; };
    >
    > view "internal" {
    > match-clients { mylan; };
    > recursion yes;
    > notify no;
    > include "/etc/bind/common_zones.inc";
    >
    > zone "hank.org" IN {
    > type master;
    > file "/etc/bind/hank.org.internal";
    > };
    >
    > zone "1.168.192.in-addr.arpa" IN {
    > type master;
    > file "/etc/bind/db.192.168.1.x";
    > };
    >
    > };
    > view "external" {
    > match-clients { any; };
    > recursion no;
    > allow-query { any; };
    > notify yes;
    >
    > include "/etc/bind/common_zones.inc";
    >
    > zone "hank.org" IN {
    > type master;
    > file "/etc/bind/hank.org";
    > };
    >
    > };
    >
    >
    >
    >
    >
    >
    > --
    > Bill Moseley
    > moseley@hank.org


  • Next message: Andrew n marshall: "RE: Help with OpenSSH -> SSH2 Server"