Announcement

Collapse
No announcement yet.

Zone file - reverse lookup

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Zone file - reverse lookup

    I'm trying to add some of my local workstations to nxfilter so I can do a reverse IP lookup. I presume I can do this?
    I can ping ns1.example.com but nslookup ns2.example.com fails.
    Zone file attached.
    Attached Files

  • #2
    Seems like there are some errors in your zone file. ChatGPT gave me this:

    Code:
    @       IN  SOA     ns1.example.com. hostmaster.example.com. (
                    2025011801 ; serial
                    900        ; refresh
                    600        ; retry
                    604800     ; expire
                    86400      ; minimum TTL
                )
            IN  NS      ns1.example.com.
            IN  A       192.168.0.1
    
    ; server host definitions
    ns1     IN  A       192.168.0.1
    www     IN  A       192.168.0.2
    
    ; reverse DNS (example for 192.168.0.1)
    1.0.168.192.in-addr.arpa. IN  PTR  ns1.example.com.
    2.0.168.192.in-addr.arpa. IN  PTR  www.example.com.

    Comment

    Working...
    X