From: dave on
"Kit" <kit(a)newsgroupsonlysopleasedontemail.com> wrote in message
news:43ac5f9b_1(a)mk-nntp-2.news.uk.tiscali.com...
> >
>> Ok now this is some sort of weird DNS thing. There's something going
>> wrong
>> which is causing addresses to resolve as 1.0.0.0 but not it seems once
>> you've pinged something. How odd.
>
> I tried most of your suggestions. Transcript of session follows:
>
> chris(a)groundhog:~> telnet pop3.lineone.net 110
> Trying 1.0.0.0...
> telnet: connect to address 1.0.0.0: Connection timed out
> chris(a)groundhog:~> ping pop3.lineone.net
> PING pop3.lineone.net (212.74.114.58) 56(84) bytes of data.
> 64 bytes from pop3.lineone.net (212.74.114.58): icmp_seq=1 ttl=60
> time=19.3
> ms
> 64 bytes from pop3.lineone.net (212.74.114.58): icmp_seq=2 ttl=60
> time=17.1
> ms
> 64 bytes from pop3.lineone.net (212.74.114.58): icmp_seq=3 ttl=60
> time=17.0
> ms
>
> [1]+ Stopped ping pop3.lineone.net
> chris(a)groundhog:~> telnet pop3.lineone.net 110
> Trying 212.74.114.58...
> Connected to pop3.lineone.net.
> Escape character is '^]'.
> +OK POP3 server ready (7.2.052.1)
> <08382D16BA158CA7A6EE49D9CBBBAC37D65238CC(a)mk-cpfrontend.uk.tiscali.com>
> quit
> +OK POP3 server closing connection
> Connection closed by foreign host.
> chris(a)groundhog:~> telnet www.demon.net 80
> Trying 1.0.0.0...
> telnet: connect to address 1.0.0.0: Connection timed out
> chris(a)groundhog:~> wget http://www.demon.net
> --20:23:53-- http://www.demon.net/
> => `index.html.2'
> Resolving www.demon.net... done.
> Connecting to www.demon.net[1.0.0.0]:80... failed: Connection timed out.
<snip retries>
> [2]+ Stopped wget http://www.demon.net
> chris(a)groundhog:~> dig www.demon.net
>
> ; <<>> DiG 9.2.2 <<>> www.demon.net
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49461
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
>
> ;; QUESTION SECTION:
> ;www.demon.net. IN A
>
> ;; ANSWER SECTION:
> www.demon.net. 300 IN A 194.159.246.194
>
> ;; AUTHORITY SECTION:
> www.demon.net. 86400 IN NS ns0.demon.co.uk.
> www.demon.net. 86400 IN NS ns1.demon.co.uk.
> www.demon.net. 86400 IN NS ns2.demon.net.
>
> ;; ADDITIONAL SECTION:
> ns0.demon.co.uk. 14400 IN A 158.152.1.65
> ns1.demon.co.uk. 14400 IN A 158.152.1.193
> ns2.demon.net. 14400 IN A 209.246.126.109
>
> ;; Query time: 2105 msec
> ;; SERVER: 192.168.0.1#53(192.168.0.1)
> ;; WHEN: Fri Dec 23 20:32:06 2005
> ;; MSG SIZE rcvd: 160
>
> chris(a)groundhog:~>
> ----------------------------------------------------------------
> /etc/resolve.conf (its timestamp is boot-up time today) =
<snip dhcp comments in resolv.conf>
> ### END INFO
> nameserver 192.168.0.1
> ----------------------------------------------------------------
>

Well I must say that it majorly odd. For some reason ping will resolve
something at which point you can use the address to get to it.

Erm.

Well I'm sure there is some totally logical solution.

I presume that 192.168.0.1 is your router?

Try the following:

Run nslookup
Type: server 192.168.0.1
Type: www.google.com
(and some other addresses you're getting back as 10.0.0.1 from telnet)

What does that say?

Also - after dig has returned a correct address does it work i.e. did telnet
www.demon.net work after a dig had returned the address but without a ping?

I'll say again. This seems very odd but there is bound to be something
simple I'm missing.

Cheers,

Dave.


From: Kit on

"Alex Monro" <alex_monro(a)yahoo.co.uk> wrote in message
news:43ac4e14$0$256$5a6aecb4(a)news.aaisp.net.uk...
> Kit wrote:
>
> > "Kit" <kit(a)newsgroupsonlysopleasedontemail.com> wrote in message
> > news:43a9e0f0$1_1(a)mk-nntp-2.news.uk.tiscali.com...
> >>> Hmm... Proxy or nameserver settings of some sort?
> >>>
> >>> Can you telnet www.yahoo.co.uk 80 and get an open session? If you can,
> >>> try
> >>> typing GET / in and press return. Does stuff come back ok?
> >>>
> >>
> >> Cannot "telnet www.yahoo.com 80"; it sits there a while, then says
> >> "Trying 1.0.0.0..." then times out.
> >>
> >> Is it time to read about proxies?
> > ---------------------------------------------------------------
> > Had a day of Xmas duties yesterday! Managed to read a bit about proxy
> > servers on Wikipedia and reverted some vandalism there. Still not much
the
> > wiser though.
> > Anyway, here are my responses to your questions & suggestions:
> >
> >>Hmm... (again). Is "Trying 1.0.0.0..." a literal quote?
> > Yes.
> >
> > If that's the case then something is wrong with DNS and I'm a bit
confused
> > as to why a ping works. Can you try the following:
> >
> >>1. ping www.yahoo.co.uk
> >>You should see it turn into an IP address (I get 217.12.3.11 ATM).
> > I get 217.12.3.11 also.
> >
> >
> >>2. Now telnet www.yahoo.co.uk 80
> >>and see what IP it tries.
> >
> > Trying 217.12.3.11...
> > Connected to www.yahoo.co.uk.
> > Escape character is '^]'.
> >
> > (and then after a while of me doing nothing)
> > Connection closed by foreign host.
> >
> That is what should happen.
> >
> >
> >>3. Try /usr/sbin/traceroute -n www.yahoo.co.uk
> >>Where does that get to.
> >
> > groundhog:/home # /usr/sbin/traceroute -n www.yahoo.co.uk
> > traceroute to www.yahoo.co.uk (1.0.0.0), 30 hops max, 40 byte packets
> > 1 192.168.0.1 1.068 ms 0.550 ms 0.542 ms
> > 2 212.74.111.234 15.153 ms 17.680 ms 14.484 ms
> > 3 212.74.106.166 13.940 ms 14.722 ms 14.459 ms
> > 4 212.74.111.130 17.029 ms 19.798 ms 17.539 ms
> > 5 212.74.108.10 19.213 ms 18.076 ms 20.818 ms
> > 6 * 213.200.77.253(N!) 19.588 ms (N!) 18.954 ms
> >
> >
> >
> >>4. Try /usr/sbin/traceroute www.yahoo.co.uk
> >>Not in numerical mode this time - see if DNS works.
> >
> > groundhog:/home # /usr/sbin/traceroute www.yahoo.co.uk
> > traceroute to www.yahoo.co.uk (1.0.0.0), 30 hops max, 40 byte packets
> > 1 mygateway.ar7 (192.168.0.1) 0.668 ms 0.543 ms 0.621 ms
> > 2 lo99.bhm (212.74.111.234) 14.556 ms 16.992 ms 14.671 ms
> > 3 212.74.106.166 16.026 ms 15.490 ms 16.015 ms
> > 4 pos3 (212.74.111.130) 17.479 ms 20.674 ms 16.849 ms
> > 5 pos3 (212.74.108.10) 19.057 ms 41.267 ms 29.464 ms
> > 6 * so (213.200.77.253)(N!) 18.769 ms *
> >
> This looks reasonable.
>
> >>If you've said 1.0.0.0 for the sake of brevity and it did indeed try a
> >>real IP address but just timed out then this is odd and might be some
sort
> >>of proxy or port not allowed on the firewall.
> >
> >>In this case try telnetting to some other services/ports, for example:
> >
> >>telnet mailin-03.mx.aol.com 25
> >
> >>or your ISP POP3 server on 110
> >
> > chris(a)groundhog:~> telnet pop3.lineone.net 110
> > Trying 1.0.0.0...
> > telnet: connect to address 1.0.0.0: Connection timed out
> >
> Sorry for dissapearing for a bit - had a touch of 'flu.
>
> This is _weird_! pop3.lineone.net is _NOT_ 1.0.0.0, it's 212.74.114.58
> (unless lineone are doing something _very_ strange with their internal
> DNS)
>
> What does dig tell you the IP for that server is?
> (I get the following from here:
> alex(a)finn:~> dig pop3.lineone.net
>
> ; <<>> DiG 9.2.2 <<>> pop3.lineone.net
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9330
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
>
> ;; QUESTION SECTION:
> ;pop3.lineone.net. IN A
>
> ;; ANSWER SECTION:
> pop3.lineone.net. 13172 IN A 212.74.114.58
>
> ;; AUTHORITY SECTION:
> lineone.net. 3253 IN NS ns0.tiscali.co.uk.
> lineone.net. 3253 IN NS ns0.as9105.com.
>
> ;; ADDITIONAL SECTION:
> ns0.as9105.com. 120357 IN A 212.139.129.130
> ns0.tiscali.co.uk. 98683 IN A 212.74.114.132
> )
>
> I guess with tiscali anything's possible!
>
> I'm just wondering if lineone do some weird proxying for all the services
> they support. I think it's theoretically possible they could return
> different addresses for lookups on their servers to clients coming from
> inside their network to what they return for external lookups. That
> would be - unconventional.
>
> Another possibility - do you have an /etc/hosts file? Is there anything
> about pop3.lineone.net in there?
>
> Can you connect to www.yahoo.co.uk with a browser? You seem to be able
> to ping & telnet to it. Can you telnet to port 80 of some of the other
> sites that you weren't able to access with a browser? Are there any
> proxies set in your browsers?
> --
> Alex Monro, Exeter, UK Life is like Windows - the documentation
> alexm at pobox dot com (No HTML) is useless, and it crashes horribly
> Running on GNU/Linux (SuSE 8.2) from time to time...
> GPG key 68F8 6270 available from hkp://blackhole.pca.dfn.de

Hi Alex, welcome back.
Still stuck in the ditch here! I cannot connect to anything with a browser
(Konq, Firefox), and have tried changing proxy settings without success, but
since I don't understand proxy servers I was just stabbing in the dark.
I will give your suggestions a try tomorrow.




From: Robert Hull on
In uk.comp.os.linux, on Fri 23 December 2005 20:55, Kit
<kit(a)newsgroupsonlysopleasedontemail.com> wrote:

> /etc/resolve.conf (its timestamp is boot-up time today) =
>
> ### BEGIN INFO

[snip]
> nameserver 192.168.0.1

ICBW but I don't think that your router is a true nameserver. Since you
appear to be connecting through tiscali uk, what happens if you put the
IP of one of their nameservers in here (e.g. 212.74.114.132) ?

Do your telnets work then?
--
Robert
In the interest of greater transparency, my new sig follows:
From: Kit on

"Robert Hull" <Robert(a)please.do-not-spam.me.uk> wrote in message
news:2500590.zDeYrAq4Ef(a)please.do-not-spam.me.uk...
> In uk.comp.os.linux, on Fri 23 December 2005 20:55, Kit
> <kit(a)newsgroupsonlysopleasedontemail.com> wrote:
>
> > /etc/resolve.conf (its timestamp is boot-up time today) =
> >
> > ### BEGIN INFO
>
> [snip]
> > nameserver 192.168.0.1
>
> ICBW but I don't think that your router is a true nameserver. Since you
> appear to be connecting through tiscali uk, what happens if you put the
> IP of one of their nameservers in here (e.g. 212.74.114.132) ?
>
> Do your telnets work then?

Still in Windows so haven't tried anything yet, but the router settings
contain the following for the ADSL port:

MAC Address 00:0F:B5:31:91:77
IP Address 88.106.83.222
Gateway IP 212.74.111.234
DHCP PPPOA
IP Subnet Mask 255.255.255.255
Domain Name Server 80.225.248.50
80.225.248.58

so is resolv.conf just referring to the router which then has the nameserver
information?





From: Robert Hull on
In uk.comp.os.linux, on Sat 24 December 2005 11:24, Kit
<kit(a)newsgroupsonlysopleasedontemail.com> wrote:

>
> "Robert Hull" <Robert(a)please.do-not-spam.me.uk> wrote in message
> news:2500590.zDeYrAq4Ef(a)please.do-not-spam.me.uk...
>> In uk.comp.os.linux, on Fri 23 December 2005 20:55, Kit
>> <kit(a)newsgroupsonlysopleasedontemail.com> wrote:
>>
>> > /etc/resolve.conf (its timestamp is boot-up time today) =
>> >
>> > ### BEGIN INFO
>>
>> [snip]
>> > nameserver 192.168.0.1
>>
>> ICBW but I don't think that your router is a true nameserver.
>
> Still in Windows so haven't tried anything yet, but the router
> settings contain the following for the ADSL port:
>
> Domain Name Server 80.225.248.50
> 80.225.248.58
>
> so is resolv.conf just referring to the router which then has the
> nameserver information?

I would try putting the nameserver addresses in resolv.conf - this is
what I have on this machine. I had never considered declaring my router
to be a nameserver because it is not.

OTOH, my setup resolves names adequately for my needs.
--
Robert
Keep the Yule Logs burning !
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5 6
Prev: AddOn GWK140
Next: sshd known_hosts query