dns zone configuration incorrect

i’m trying to ping mail.example.com but failed. base on my below zone configuration.

Did I configure anything wrong?

$TTL 604800 ; 1 week
@   IN  SOA serverad.example.com.   root.example.com. (
                232       ; serial
                604800     ; refresh (1 week)
                86400      ; retry (1 day)
                2419200    ; expire (4 weeks)
                604800     ; minimum (1 week)
                )
IN  NS  serverad.example.com.
serverad        IN      A   172.17.5.121
121     IN  PTR serverad.example.com.

mail    IN  A   172.17.5.22
22      IN  PTR mail.example.com.

Answer

i found out why, my zone has key in wrong,and my zone is already exist in samba4 dynamic create zone,i need to use samba-tool dns add or dns management tools in window

Attribution
Source : Link , Question Author : Min Hong Tan , Answer Author : Min Hong Tan

Leave a Comment