Find the answer to your Linux question:
Results 1 to 5 of 5
Hello, I have the following bind9 configuration, and I'm trying to resolve reverse lookup IP address to name. $ttl 38400 mydomain.org. IN SOA myhosting.com. ( 1243281304 10800 3600 604800 38400 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Dec 2008
    Location
    Luxembourg
    Posts
    136

    bind9 : reverse lookup and PTR value


    Hello,
    I have the following bind9 configuration, and I'm trying to resolve reverse lookup IP address to name.

    $ttl 38400
    mydomain.org. IN SOA myhosting.com. (
    1243281304
    10800
    3600
    604800
    38400 )
    mydomain.org. IN NS xxx.myhosting.com.
    mydomain.org. IN A 1.2.3.4
    mail.mydomain.org. IN MX 10 mail.mydomain.org.
    www IN CNAME mydomain.org.
    ftp IN CNAME mydomain.org.
    1.2.3.4 IN PTR mydomain.org.


    I had the PTR value for reverse lookup

    nslookup - localhost

    > 1.2.3.4
    Server: localhost
    Address: 127.0.0.1#53

    ** server can't find 1.2.3.4.in-addr.arpa: NXDOMAIN

    Is my PTR wrong, or what do I need to have the reverse lookup working ?

    Note: I replace real IP by 1.2.3.4, same for my domain name.

    Bye,
    Bruno

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    ** server can't find 1.2.3.4.in-addr.arpa: NXDOMAIN
    You nee to create a reverse zone and place your reverse lookup in there.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Linux Newbie
    Join Date
    Dec 2008
    Location
    Luxembourg
    Posts
    136
    I created the reverse zone. Now it works but for the master only.

    nslookup - localhost
    > 1.2.3.4
    Server: localhost
    Address: 127.0.0.1#53

    4.3.2.1.in-addr.arpa name = costacurta.org.

    But now to notify the slave server ?
    I tried the following but it doesn't seems to work :

    zone "3.2.1.in-addr.arpa" IN {
    type master;
    file "/etc/bind/rev.3.2.1.in-addr.arpa";
    also-notify {
    1.2.3.99;
    };
    notify yes;
    };

    I used same syntax for the non-reverse and it works fine.
    May the syntax be different for reverse-zone ?
    Or other reason like serial value, or delays for slave to being updated ?
    I have no access to the slave DNS hosted by my provider.

    Thanks for your experience and clarification.

    Bye,
    Bruno

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Who is hosting your slave server? If it's your ISP then they most likely already have a reverse zone for the address in question. I would contact them and ask if they do. If they do not you could then ask them why you cannot push your reverse zone to them.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #5
    Linux Newbie
    Join Date
    Dec 2008
    Location
    Luxembourg
    Posts
    136
    Hummm...indeed this might be the reason.
    I contacted my ISP and wait for his feedback about this reverse lookup problem.

    Bye,
    Bruno

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •