LinuxQuestions.org
Help answer threads with 0 replies.
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 09-24-2004, 08:57 AM   #31
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30

thankx u came back,

i mentioned in post 25 that

i have 3 system connected to a LAN

172.16.0.1 - is my ISP address

192.168.1.2- on which i am trying to configure DNS, and internet on this is through (192.168.1.1- the proxy server)

192.168.1.1- proxy server (on internet is directly coming through isp)
 
Old 09-24-2004, 09:24 AM   #32
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,173
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Quote:
172.16.0.1 - is my ISP address
This is vague enough.
I still cannot figure out what is the IP of your isp's nameserver. And there is no such entry in your /etc/resolv.conf to help me understand. I think it is the 192.168.1.1.
 
Old 09-27-2004, 02:55 AM   #33
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
what is vague enough , i already mentioned in post 25 that

i have 3 system connected to a LAN

172.16.0.1 - is my ISP address

192.168.1.2- on which i am trying to configure DNS, and internet on this is through (192.168.1.1- the proxy server)

192.168.1.1- proxy server (on internet is directly coming through isp)

and your thinking is wrong about my isp ip ,it is 172.16.0.1 not 192.168.1.1

and my /etc/resolv.conf file consist

search mandrake
nameserver 127.0.0.1


now could u plz. help me out.
 
Old 09-27-2004, 03:17 AM   #34
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
emailssent,

The reason that is said to be vague is, 172.16.0.1 is not the *public* IP address that you are getting from your ISP. 172.16.0.1 is a *private* IP address only available to a local private network.

To find your public IP address that is assigned by your ISP
http://www.whatismyip.com

Then a dig has to be run on the ISP from the website above to find the nameserver for your ISP.
 
Old 09-27-2004, 09:24 AM   #35
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
when i click http://www.whatismyip.com/ it gives my systems public ip,

and if 172.16.0.1 if not public ip so what should i do , becz it is the only ip provided by ISP and this ip is configured in my system to access internet.

so, finally how can i dig yahoo.com or some else site.

newbie is confused and need help
 
Old 09-27-2004, 05:17 PM   #36
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Can you do a dig command on the public IP that was returned from whatismyip.com? This will output your ISP's nameservers. The main one needs to be put in /etc/resolv.conf with the line
nameserver isp_primary_nameserver
replace isp_primary_nameserver with the IP address of your ISP's primary DNS server.

Last edited by darthtux; 09-27-2004 at 05:20 PM.
 
Old 09-27-2004, 05:46 PM   #37
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Did you make sure that the root.hints is loading correctly? You should not have any forwarders if you're loading root.hints.
 
Old 09-28-2004, 12:39 AM   #38
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
@darthtux

when dig the ip returned by whatismyip.com then it says

# dig -x 203.101.86.157

; <<>> DiG 9.2.3rc2 <<>> -x 203.101.86.157
;; global options: printcmd
;; connection timed out; no servers could be reached

@chort
thankx chort....

how can i make sure that root.hints is loading correctly..............

any why should i not put forwarders in named.conf file


-jack

Last edited by emailssent; 09-28-2004 at 02:05 AM.
 
Old 09-28-2004, 03:09 AM   #39
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,173
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Hi emailssent,

I can tell you how to find you ISP's real DNS address using the nslookup command, since I'm used to it.
(I use bind from the old days and dig is a relatively new command)
Code:
# nslookup
> set q=any
> server ns1.yahoo.com
> yourISPdomain.com
Non-authoritative answer:
....
Authoritative answers can be found from:
....
The last answer will tell you your ISP's DNS server names and IPs.
 
Old 09-28-2004, 03:31 AM   #40
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
dig -x 203.101.86.157

; <<>> DiG 9.2.4rc5 <<>> -x 203.101.86.157
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 26381
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;157.86.101.203.in-addr.arpa. IN PTR

;; AUTHORITY SECTION:
86.101.203.in-addr.arpa. 3600 IN SOA dnsdel.mantraonline.com. root.dnsdel.mantraonline.com. 2004092101 3600 3600 1209600 3600

;; Query time: 453 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Tue Sep 28 03:28
 
Old 09-28-2004, 04:21 AM   #41
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
@bathory
First of all thankx for coming back,

hi bathory,

# nslookup
> set q=any
> server ns1.yahoo.com

after this when i press enter key, it gives me

$ nslookup
> set q=any
> server ns1.yahoo.com
nslookup: Couldn't find server 'ns1.yahoo.com': Temporary failure in name resolution

@darthtux

could plz. expain it,
why u can dig , and i can't dig.....



-jack
 
Old 09-28-2004, 05:05 AM   #42
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,173
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
OK it's natural since your DNS cannot resolve names (yest). Replace ns1.yahoo.com with it's IP: 66.218.71.63 and try that again
 
Old 09-28-2004, 05:21 AM   #43
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
$ nslookup
> set q=any
> server 66.218.71.63
Default server: 66.218.71.63
Address: 66.218.71.63#53
>

now what i have to put in

@yourISPdomain.com
 
Old 09-28-2004, 05:33 AM   #44
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,173
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Just write the domain of you ISP (e.g. domain.com) and it'll tell you who are the authoritative servers for it.
Then use them in /etc/resolv.conf and /etc/named.conf (as forwarders)
 
Old 09-28-2004, 06:27 AM   #45
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
@bathory

I don't have any domain name of my ISP.
 
  


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
DNS service error LinuxRam Linux - Networking 4 09-12-2004 05:26 AM
Dns Service praveenv Linux - Newbie 2 09-08-2004 12:24 PM
Dynamic Ip Dns Service murphyyoung Linux - Networking 2 06-19-2004 02:34 PM
DNS ERROR: Name or service not known. rioguia Linux - Networking 25 10-21-2003 09:46 AM
DNS Service ddepuemd Linux - Networking 1 05-16-2002 11:17 AM

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

All times are GMT -5. The time now is 05:44 AM.

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