Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-26-2005, 07:13 AM
|
#1
|
Member
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821
Rep:
|
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.
|
|
|
10-26-2005, 07:38 AM
|
#2
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
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?
|
|
|
10-26-2005, 07:47 AM
|
#3
|
Member
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821
Original Poster
Rep:
|
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...
|
|
|
10-26-2005, 08:08 AM
|
#4
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
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
|
|
|
10-26-2005, 08:28 AM
|
#5
|
Member
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821
Original Poster
Rep:
|
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:~ #
|
|
|
11-03-2005, 07:00 AM
|
#6
|
Member
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821
Original Poster
Rep:
|
wha was wrong with that?
|
|
|
11-06-2005, 02:25 PM
|
#7
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
hehehe..
dig google.com @203.197.12.42
|
|
|
11-06-2005, 08:33 PM
|
#8
|
Member
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338
Rep:
|
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.
|
|
|
11-06-2005, 09:12 PM
|
#9
|
Member
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|