LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-26-2005, 06:13 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
proxy hell..Why does it hacking me.


I have a lot of problem in DNS.

i am connected to internet by an proxy server which is an only one server to whole university.
I know the ISP of proxy server.And i know the DNS server's of ISP.


[root@g01 ~]# dig google.com

; <<>> DiG 9.2.4 <<>> google.com
;; global options: printcmd
;; connection timed out; no servers could be reached

[root@g01 ~]# nslookup google.com
;; connection timed out; no servers could be reached

[root@g01 ~]# whois google.com
[Querying whois.internic.net]
[whois.internic.net: Temporary failure in name resolution]
[Unable to connect to remote host]
[root@g01 ~]#

[root@g01 ~]#cat /etc/resolv.conf
nameserver 10.1.1.2
nameserver 10.1.1.1
nameserver 127.0.0.1


Which seems that proxy server Not in a position to translate the hostname.Whose port has been blocked.
Is the any GNU tool or anything to over come this and query the externel world.
And what about externel World DNS server's Can i reach them from my command Line.

please help me.
 
Old 10-26-2005, 06:38 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
From man dig..

do dig www.google.com @ip.of.dns.server to put the request directly to the dns server.

You may find the ip numbers you have for dns servers in resolv.conf are incorrect if they don't respond.
Do you get these dns numbers via dhcp or manually?
 
Old 10-26-2005, 06:47 AM   #3
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
manually ?Is there any way by an DHCP ?

Actually the ISP nameserver is "ns3.vsnl.com.ns1chn.vsnl.com"


[root@g04 ~]# dig www.google.com @ns3.vsnl.com.ns1chn.vsnl.com
dig: Couldn't find server 'ns3.vsnl.com.ns1chn.vsnl.com': Temporary failure in name resolution
[root@g04 ~]#

look like proxy not alowing me..
That is why i am looking for a tool to overcome this...
 
Old 10-26-2005, 07:08 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
I think the dns servers are ns3.vsnl.com (203.197.12.42) and ns1chn.vsnl.com (202.54.6.60)

Use the ip numbers, coz without a dns server you can't resolve names..

Manually means you set your ip number, and dhcp means you find a server to set your ip number.
dhcp can also set many other numbers, eg dns, time, gateway etc
 
Old 10-26-2005, 07:28 AM   #5
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
okey

pls look at my result.

linux:~ # dig @203.197.12.42 google.com

; <<>> DiG 9.2.3 <<>> @203.197.12.42 google.com
;; global options: printcmd
;; connection timed out; no servers could be reached
linux:~ # dig @202.54.6.60 google.com

; <<>> DiG 9.2.3 <<>> @202.54.6.60 google.com
;; global options: printcmd
;; connection timed out; no servers could be reached
linux:~ #
 
Old 11-03-2005, 06:00 AM   #6
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
wha was wrong with that?
 
Old 11-06-2005, 01:25 PM   #7
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
hehehe..

dig google.com @203.197.12.42
 
Old 11-06-2005, 07:33 PM   #8
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Either way works for me, though man dig suggests [ @server ] should be placed *before* [ name ].

In this case it seems tcp port 53 traffic to destinations outside the LAN is blocked - bruse will only be able to dig nameservers on the LAN. I suggest checking the configuration of a computer with working proxy access. If other machines are configured to use DHCP, this one should be too (unless it's a server or the network admin has given you a static IP address to use, in which case ask the admin for nameserver IP address(es) to use.
 
Old 11-06-2005, 08:12 PM   #9
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
If you are needing to use a proxy there is no need to resolve the address. Just let the proxy do that.

It is entirely possible that you can't get directly to a DNS server that will resolve the outside world.

Mike K.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Stuck behind Proxy from Hell... Going slowly mad. Exasperated Linux - Networking 0 02-24-2005 05:25 AM
Hacking Exposed Wireless Hacking Chapter prompt Linux - Wireless Networking 0 05-08-2004 02:44 PM
I am in PROXY HELL netboy_541 Linux - Networking 4 11-24-2003 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration