Getting hold of serial numbers
Stephen Carville
stephen at totalflood.com
Wed Dec 15 23:57:04 UTC 2004
On Wed December 15 2004 2:35 pm, D McDonald wrote:
> Earlier today Stephen noticed that the serial numbers on the zone files
> didnt match between my dns server, and thouse of att. How do you go about
> finding out the serial number of zone files? How would you do this from a
> *nix command line?
USe whois to get a list of dns servers
$ whois totalflood.com
DNS.TOTALFLOOD.COM 12.47.198.108
DNS2.TOTALFLOOD.COM 65.223.121.228
NS3.INFLOW.NET 216.183.114.115
NS4.INFLOW.NET 66.179.160.115
Then query each for the SOA record
$ dig @12.47.198.108 totalflood.com SOA
totalflood.com. 3600 IN SOA dns.totalflood.com.
domainadmin.totalflood.com. 99 10800 900 604800 3600
^^
(in this case 99 is the serial number)
etc...
> Renski
>
> --
> renski at sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org
--
Stephen Carville
Unix and Network Adminstrator
DPSI
6033 W.Century Blvd.
Los Angeles, CA 90045
310-342-3602
More information about the bind-users
mailing list