On 2007-10-20, Kelly Clowers <[EMAIL PROTECTED]> wrote:
> On 20 Oct 2007 17:20:16 GMT, Tyler Smith <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I'm working through an old-ish book on web programming. It has several
>> pages of instructions on installing and running bind8 for use on a
>> standalone computer. I just used aptitude to install bind9, and
>> without any additional effort I think it's working. ps aux shows the
>> named daemon, and I can browse the web no problems. Is that all there
>> is to it? My browser seems to be a little snappier, without the usual
>> lookup times, but that could be wishful thinking.
>
> I don't think bind is set up to even do caching out of the box, but I
> could be wrong. You can use the command line utility dig to see what
> your name server is doing. See dig's manual page for more info.
>

I looked at dig and also nslookup. nslookup produces:

tyler:bind-> nslookup 
> www.cbc.ca
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
www.cbc.ca      canonical name = www.cbc.ca.edgesuite.net.
www.cbc.ca.edgesuite.net        canonical name = a1849.gc.akamai.net.
Name:   a1849.gc.akamai.net
Address: 142.176.121.5
Name:   a1849.gc.akamai.net
Address: 142.176.121.8

Does this mean that I'm using 127.0.0.1 as my name server? That's what I want
isn't it?

dig produces:

tyler:bind-> dig

; <<>> DiG 9.4.1-P1 <<>>
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24999
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13

;; QUESTION SECTION:
;.                              IN      NS

;; ANSWER SECTION:
.                       508217  IN      NS      g.root-servers.net.
.                       508217  IN      NS      e.root-servers.net.
.                       508217  IN      NS      a.root-servers.net.
.                       508217  IN      NS      f.root-servers.net.
.                       508217  IN      NS      l.root-servers.net.
.                       508217  IN      NS      c.root-servers.net.
.                       508217  IN      NS      m.root-servers.net.
.                       508217  IN      NS      i.root-servers.net.
.                       508217  IN      NS      d.root-servers.net.
.                       508217  IN      NS      k.root-servers.net.
.                       508217  IN      NS      h.root-servers.net.
.                       508217  IN      NS      b.root-servers.net.
.                       508217  IN      NS      j.root-servers.net.

;; ADDITIONAL SECTION:
a.root-servers.net.     508217  IN      A       198.41.0.4
b.root-servers.net.     508217  IN      A       192.228.79.201
c.root-servers.net.     508217  IN      A       192.33.4.12
d.root-servers.net.     508217  IN      A       128.8.10.90
e.root-servers.net.     508217  IN      A       192.203.230.10
f.root-servers.net.     508217  IN      A       192.5.5.241
g.root-servers.net.     508217  IN      A       192.112.36.4
h.root-servers.net.     508217  IN      A       128.63.2.53
i.root-servers.net.     508217  IN      A       192.36.148.17
j.root-servers.net.     508217  IN      A       192.58.128.30
k.root-servers.net.     508217  IN      A       193.0.14.129
l.root-servers.net.     508217  IN      A       198.32.64.12
m.root-servers.net.     508217  IN      A       202.12.27.33

;; Query time: 6 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Oct 20 16:02:07 2007
;; MSG SIZE  rcvd: 436

tyler:bind-> 

Thanks for your help. I know these are very basic questions.

Cheers,

Tyler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to