Dns
Josef Karthauser
joe at tao.org.uk
Mon Jan 15 13:59:32 GMT 2001
On Mon, Jan 15, 2001 at 01:46:44PM -0000, David Richards wrote:
> Hi
> I have recently registered a domain for me, skyforge.net Now that i have
> the dns servers pointing to where i have it held. How do i get it to resolve
> ? Currently if i use another dns server to look it up, it cant find it. any
> ideas on how to get it to resovle etc..?
genius% dig skyforge.net ns
; <<>> DiG 8.3 <<>> skyforge.net ns
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;; skyforge.net, type = NS, class = IN
;; ANSWER SECTION:
skyforge.net. 2D IN NS 194.73.89.1.
genius% dig @194.73.89.1 skyforge.net ns
; <<>> DiG 8.3 <<>> @194.73.89.1 skyforge.net ns
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;; skyforge.net, type = NS, class = IN
;; ANSWER SECTION:
skyforge.net. 1d1m40s IN NS 194.168.163.58.skyforge.net.
skyforge.net. 1d1m40s IN NS 194.73.89.1.skyforge.net.
skyforge.net. 1d1m40s IN NS 194.168.163.59.skyforge.net.
That looks a bit wierd!
Your NS entries should be names not IP addresses. What's happened is
that the name server has treated the IP addresses as relative hostnames
and appended the zone on the end. You'll want to look at this.
On the otherhand:
genius% dig @194.73.89.1 www.skyforge.net
; <<>> DiG 8.3 <<>> @194.73.89.1 www.skyforge.net
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 0
;; QUERY SECTION:
;; www.skyforge.net, type = A, class = IN
;; ANSWER SECTION:
www.skyforge.net. 1d1m40s IN CNAME blackice.skyforge.net.
blackice.skyforge.net. 1d1m40s IN A 194.73.89.1
This looks ok.
genius% telnet 194.73.89.1 80
Trying 194.73.89.1...
Connected to 194.73.89.1.
Escape character is '^]'.
HEAD / HTTP/1.0
HTTP/1.1 200 OK
Date: Mon, 15 Jan 2001 14:03:54 GMT
Server: Apache/1.3.12 (Unix)
Last-Modified: Wed, 10 Jan 2001 15:30:46 GMT
ETag: "2153-10c1-3a5c8026"
Accept-Ranges: bytes
Content-Length: 4289
Connection: close
Content-Type: text/html
If you get your name servers fixed in your zone file (remember to bump
the serial number :) then that should fix things.
Joe
More information about the Ukfreebsd
mailing list