[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Weird DNS error?



El 2011-10-25 a las 14:25 -0400, Greg van Anders escribió:

(sending back to the list and correcting the top-posting ;-) )

> On Tue, Oct 25, 2011 at 11:31 AM, Camaleón <noelamac@gmail.com> wrote:
> > On Tue, 25 Oct 2011 00:54:08 -0400, Greg van Anders wrote:
> >
> > (...)
> >
> >> I can successfully host <server> 192.168.1.254 to the above, as well as
> >> many others. Yet if I try to, for example, ssh to the same server I get
> >> "Name or service unknown". Adding -v, or -vv doesn't seem to tell me any
> >> more.
> >>
> >> I find this a bit confusing.
> >>
> >> Any other suggestions?
> >
> > Yes (but maybe this has been already suggested...), try:
> >
> > dig @8.8.8.8 yahoo.com
> >
> > And put here the output.

> Thanks Camaleon!
> 
> Here are the results:
> 
> $ dig @8.8.8.8 www.yahoo.com
> 
> ; <<>> DiG 9.7.3 <<>> @8.8.8.8 www.yahoo.com
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33036
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
> 
> ;; QUESTION SECTION:
> ;www.yahoo.com.			IN	A
> 
> ;; ANSWER SECTION:
> www.yahoo.com.		283	IN	CNAME	fp3.wg1.b.yahoo.com.
> fp3.wg1.b.yahoo.com.	44	IN	CNAME	any-fp3-lfb.wa1.b.yahoo.com.
> any-fp3-lfb.wa1.b.yahoo.com. 284 IN	CNAME	any-fp3-real.wa1.b.yahoo.com.
> any-fp3-real.wa1.b.yahoo.com. 44 IN	A	209.191.122.70
> any-fp3-real.wa1.b.yahoo.com. 44 IN	A	98.139.180.149
> 
> ;; Query time: 71 msec
> ;; SERVER: 8.8.8.8#53(8.8.8.8)
> ;; WHEN: Tue Oct 25 14:21:52 2011
> ;; MSG SIZE  rcvd: 144

Perfect.

> Does this help?
> 
> Thanks again,
> Greg

Yes. Well, what the above is telling us is that:

1/ You can reach your DSL gateway
2/ You can resolve domain names usin Google's DNS servers, at least 
from command line tools

Can you run the same query using your router's DNS facility and send the
output? That is:

dig@192.168.1.254 yahoo.com

Greetings,

-- 
Camaleón 


Reply to: