Reverse DNS problems

Discussion in 'Installation/Configuration' started by K_meleonu, Nov 22, 2008.

  1. K_meleonu

    K_meleonu New Member

    Hi all,
    I have a problem with my reverse dns.
    I have installed Fedora Core 5 on a new computer folowing the perfect setup on howtoforge and ISPConfig Version: 2.2.27.
    When i add a domain or a sub-domain, ispconfig created the, restart's the named service and if i try dns or www it work's fine, it resolves to but if i try a dns it doesn't resolve in or

    I triyed a dig -x ip and here is the output

    [root@CrazyDesign ~]# dig -x

    ; <<>> DiG 9.4.1-P1 <<>> -x
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 29367
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ; IN PTR

    ;; Query time: 5 msec
    ;; SERVER:
    ;; WHEN: Sat Nov 22 14:20:24 2008
    ;; MSG SIZE rcvd: 44

    I see there is a SERVFAIL and from what i read on the forum i understand that is a problem.

    Can anyone help me in some way and tell me what to do to fix this problem?

    Thank you all in advance,
    Last edited: Nov 22, 2008
  2. falko

    falko Super Moderator

    Please ask your provider that gave you the IP to create a reverse record for you.
  3. K_meleonu

    K_meleonu New Member

    Hi falko,
    Thank you for your response but that isn't the solution.
    I have 2 IP's from my provider 86.127.113.x1 and 86.127.113.x2 and on 86.127.113.x1 i have an IP class routed (
    I had all the sites on an older server and all worked fine untill i have installed all on a new server (Fedora Core 5 following the perfect setup).
    The diference is that now, the reverse dns doen NOT work.
    On the old server, when i triyed dns it gaved me (an IP from the IP's class) and dns responded with but now this thing doen not work anymore.
    I think there my be a bind/named problem.

    on the old server i had (for the primary IP on wich is the IP class routed) and wich contained the end of the IP from the IP class and the domain/subdomain asociated to IP
    $TTL 86400
    @ IN SOA (
    2008090803 ; serial, todays date + todays serial #
    28800 ; Refresh
    7200 ; Retry
    604800 ; Expire
    86400) ; Minimum TTL
    17 PTR
    17 PTR
    109 PTR


    and named.conf also had:
    zone "" {
    type master;
    file "";
    zone "" {
    type master;
    file "";

    Now named.conf does NOT have this 2 entryes and those 2 files does NOT exist. I have triyed to make them manually, restarted named and no errors comed up but after adding a new subdomain in ISPConfig those 2 files created by me had dissapeared.

    Can you please help solving this out?
    Last edited: Nov 22, 2008
  4. K_meleonu

    K_meleonu New Member

    Found a solution but it is not so good.
    After adding a domain/subdomain in ISPConfig i go on DNS Administration and create a new PTR with the domain/subdomain name and ip and then the resolves to and rezolves to

    The problem is that i think this should be done by ISPConfig in the moment i add the domain/subdomain. Is this a bug or it eork's wrong just at me?

    Thank you in advance for your responses
  5. falko

    falko Super Moderator

    You must create the PTR records manually in ISPConfig - that's no bug.
  6. K_meleonu

    K_meleonu New Member

    Ok, i think't that's a bug because on the plder server i haven't created any PTR records and the forward and reverse dns was working just fine.

    I'm glad i found how to solve the problem and create those PTR.

    Thank's for your responses and for the work you do.

Share This Page