For my own personal interest I try to configure dns servers for one of our
inactive domain (farstars.net).
I use 2 dns servers (ns1 and ns2) one located in our office and the other
located in my own house. Both machines are connected via adsl line.
I cannot get my master server to work properly as I always get "Unknown
Host" reply when I ping one of my machines.
When I dig I get the following answer:
; <<>> DiG 9.3.2 <<>> farstars.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19247
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;farstars.net. IN A
;; AUTHORITY SECTION:
farstars.net. 60 IN SOA farstars.net.
dnsadmin.farstars.net.\ 2006101201 3600 600 86400 300
;; Query time: 51 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Oct 20 14:52:15 2006
;; MSG SIZE rcvd: 75
This information seems ok but I do not understand how I get the SOA record
only.
Here is a copy of my zone file:
@ IN SOA farstars.net. dnsadmin.farstars.net. (
2006101201 ; Serial number
3600 ; Refresh after 1 hour
600 ; Retry after 10 minutes
86400 ; Expire after 1 day
300 ) ; Minimum TTL of 5 minutes
NS ns1.farstars.net.
NS ns2.farstars.net.
MX 10 mail.farstars.net.
TXT "Farstar Networking Inc."
ns1 IN A 72.1.198.18
ns2 IN A 72.1.198.145
www IN A 72.1.198.18
ftp IN A 72.1.198.18
mail IN A 72.1.198.18
Any body has an idea of what I am doing wrong?
Thanks.
Gilles