IN SOA format

Peter Dambier peter at peter-dambier.de
Thu Sep 18 10:43:57 UTC 2008


Hi Paul,

make it as easy as possible. CNAMES might need another query and take
time to resolve.

There is a tool "natnum" in the IASON tools at

http://iason.site.voila.fr/

e.g.:

$ natnum peter-dambier.de
host_look("82.165.62.90","peter-dambier.de","1386561114").
host_name("82.165.62.90","gmxhome.de").

Here "gmxhome.de" would be a good name.

You can do it by hand using dig

; <<>> DiG 9.4.3b2 <<>> -t a peter-dambier.de
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43671
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;peter-dambier.de.              IN      A

;; ANSWER SECTION:
peter-dambier.de.       10699   IN      A       82.165.62.90

;; AUTHORITY SECTION:
peter-dambier.de.       10101   IN      NS      ns16.schlund.de.
peter-dambier.de.       10101   IN      NS      ns15.schlund.de.

;; ADDITIONAL SECTION:
ns16.schlund.de.        10101   IN      A       212.227.123.12
ns15.schlund.de.        10101   IN      A       195.20.224.105

;; Query time: 38 msec
;; SERVER: 7.19.30.36#53(7.19.30.36)
;; WHEN: Thu Sep 18 12:31:35 2008
;; MSG SIZE  rcvd: 128

Now you have the IPv4.

; <<>> DiG 9.4.3b2 <<>> -x 82.165.62.90
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49735
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;90.62.165.82.in-addr.arpa.     IN      PTR

;; ANSWER SECTION:
90.62.165.82.in-addr.arpa. 86222 IN     PTR     gmxhome.de.

;; AUTHORITY SECTION:
62.165.82.in-addr.arpa. 86222   IN      NS      nsa2.schlund.de.
62.165.82.in-addr.arpa. 86222   IN      NS      nsa.schlund.de.

;; Query time: 0 msec
;; SERVER: 7.19.30.36#53(7.19.30.36)
;; WHEN: Thu Sep 18 12:32:51 2008
;; MSG SIZE  rcvd: 112



Originally the idea was to name the master dns-server or the
host you used to build the zone file on.

Many people and few programmes expect to see a dns-server for
the zone here.


Important is the email address

e.q.

peter-dambier.de.       9720    IN      SOA     ns15.schlund.de. \
                      hostmaster.schlund.de. 2....

Programmes expect "hostmaster.schlund.de." to mean "hostmaster at schlund.de."

Some people know how to escape things to show an "@" in this string
but that breaks programmes.

Kind regards
Peter

Paul Cocker wrote:
> If a computer has multiple names, say a regular hostname and a CNAME
> "ns" which points at the hostname and is used as the first nameserver
> for a domain, should the hostname or "ns" be used on the IN SOA line?
> 
> Paul Cocker
> 
> 
> 
> st is the trading name for TNT Post UK Ltd (company number: 04417047), TNT Post (Doordrop Media) Ltd (00613278), TNT Post Scotland Ltd (05695897), TNT Post North Ltd (05701709), TNT Post South West Ltd (05983401), TNT Post Midlands Limited (6458167)and TNT Post London Limited (6493826). Emma's Diary and Lifecycle are trading names for Lifecycle Marketing (Mother and Baby) Ltd (02556692). All companies are registered in England and Wales; registered address: 1 Globeside Business Park, Fieldhouse Lane, Marlow, Buckinghamshire, SL7 1HY.
> 

-- 
Peter and Karin Dambier
Cesidian Root - Radice Cesidiana
Rimbacher Strasse 16
D-69509 Moerlenbach-Bonsweiher
+49(6209)795-816 (Telekom)
+49(6252)750-308 (VoIP: sipgate.de)
mail: peter at peter-dambier.de
http://www.peter-dambier.de/
http://iason.site.voila.fr/
https://sourceforge.net/projects/iason/


More information about the bind-users mailing list