Networking Forums

Networking Forums > Computer Networking > Linux Networking > Re: DNS questions

Reply
Thread Tools Display Modes

Re: DNS questions

 
 
GangGreene
Guest
Posts: n/a

 
      03-02-2010, 11:04 PM
steve wrote:

> In other words, Its my understading that I simply need to add to the
> file /etc/resolv.conf a line like


Correct

>
> nameserver 8.8.8.8
> And that affectively adds the dns number. However Does this change the
> moment I add this line to the file. Or is there somethign else I need
> to do. eg if I start to suf the web from a windows machine that is
> using this linux comptuer as a dns is it changed. I have looked high
> and low for a command to tell me what the (active) dns is on linux and
> the only responses I can find are look in the resolv.conf file. But
> just becasue its in the resolv.conf file doesnt mean its using this
> NEW dns number. (unless that the way it works.) I wish there was a
> commadn line in windows like ipconfig /all which shows it. Is the such
> a command in linux? or if its in the resolve file does it just work?
>


Immediate

> By the way here are my nslookup results. the web site itravel2000.com
> (amonst others we cant get to )
> But google we can.??
>
>> [root@smclinux ~]# nslookup itravel2000.com

> ;; connection timed out; no servers could be reached


Your DNS server is not working/faulty

$ nslookup itravel2000.com
Server: 192.168.1.6
Address: 192.168.1.6#53

Non-authoritative answer:
Name: itravel2000.com
Address: 66.252.144.103

>
> [root@smclinux ~]# nslookup www.google.com
> Server: 192.168.1.1
> Address: 192.168.1.1#53
>
> Non-authoritative answer:
> www.google.com canonical name = www.l.google.com.
> Name: www.l.google.com



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11