Friends:
I must be doing something wrong with my DNS setup. I have a Split DNS with both my website EXAMPLE.com and my server as EXAMPLE.COM . I can resolve to my intranet site by typing example.com and that works fine, but when I try to resolve to my external site I get a error when I type http://www.example.com .
I am running SL 10.6.4 on the new mac mini server
Primary zone: Example.com
Name Server: Zone=Example.com NS:192.168.0.2
Machine record: Machine Name=example.com. IP=192.168.0.2
Alias: Name= www Destination=external ip to server
Here are my dig responses
; <<>> DiG 9.6.0-APPLE-P2 <<>> example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15277
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;example.com. IN A
;; ANSWER SECTION:
example.com. 10800 IN A 192.168.0.2
;; AUTHORITY SECTION:
example.com. 10800 IN NS 192.168.0.2.example.com.
;; Query time: 4 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Aug 25 13:26:36 2010
;; MSG SIZE rcvd: 73
----> Everything seems ok here all except for the AUTHORITY SECTION. Why does it say (192.168.0.2.example.com.) Shouldn't it just say (192.168.0.2)
here is the WWW dig response.
; <<>> DiG 9.6.0-APPLE-P2 <<>> http://www.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24170
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;http://www.example.com. IN A
;; ANSWER SECTION:
http://www.example.com. 10800 IN CNAME 97.74.184.103.steakhaus.com.
;; AUTHORITY SECTION:
steakhaus.com. 3600 IN SOA 192.168.0.2.steakhaus.com. steve.example.com.example.com. 2010082520 86400 3600 604800 3600
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Aug 25 13:29:39 2010
;; MSG SIZE rcvd: 131
----> Everything seems ok here all except for the AUTHORITY SECTION again. Why does it say my NAME then example.com.example.com. and a bunch of numbers..
Any help would be great
Steve
I must be doing something wrong with my DNS setup. I have a Split DNS with both my website EXAMPLE.com and my server as EXAMPLE.COM . I can resolve to my intranet site by typing example.com and that works fine, but when I try to resolve to my external site I get a error when I type http://www.example.com .
I am running SL 10.6.4 on the new mac mini server
Primary zone: Example.com
Name Server: Zone=Example.com NS:192.168.0.2
Machine record: Machine Name=example.com. IP=192.168.0.2
Alias: Name= www Destination=external ip to server
Here are my dig responses
; <<>> DiG 9.6.0-APPLE-P2 <<>> example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15277
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;example.com. IN A
;; ANSWER SECTION:
example.com. 10800 IN A 192.168.0.2
;; AUTHORITY SECTION:
example.com. 10800 IN NS 192.168.0.2.example.com.
;; Query time: 4 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Aug 25 13:26:36 2010
;; MSG SIZE rcvd: 73
----> Everything seems ok here all except for the AUTHORITY SECTION. Why does it say (192.168.0.2.example.com.) Shouldn't it just say (192.168.0.2)
here is the WWW dig response.
; <<>> DiG 9.6.0-APPLE-P2 <<>> http://www.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24170
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;http://www.example.com. IN A
;; ANSWER SECTION:
http://www.example.com. 10800 IN CNAME 97.74.184.103.steakhaus.com.
;; AUTHORITY SECTION:
steakhaus.com. 3600 IN SOA 192.168.0.2.steakhaus.com. steve.example.com.example.com. 2010082520 86400 3600 604800 3600
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Aug 25 13:29:39 2010
;; MSG SIZE rcvd: 131
----> Everything seems ok here all except for the AUTHORITY SECTION again. Why does it say my NAME then example.com.example.com. and a bunch of numbers..
Any help would be great
Steve