LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-05-2005, 01:17 PM   #1
Stevecook
Member
 
Registered: Nov 2004
Location: Huddersfield
Distribution: FC2
Posts: 62

Rep: Reputation: 15
Dns


I am running FC2 and messed about trying to network to a W98 machine. This was totally unsuccessful and all I have achieved is to lose my Internet connection. I am no longer bothered about networking but want to restore my Internet connection.
I am actually connecting but my browser says it cannot find the site I am requesting, if I type in the IP address of the site it connects immediately.
My resolv.conf reads
nameserver 195.92.195.94
nameserver 195.92.195.95
which is correct for my ISP (Wanadoo).
Can anyone help please?
 
Old 03-05-2005, 01:31 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
What happens if you try a did on the command line:
dig www.linuxquestions.org


If you have ncsd running you could try restarting it:
service nscd restart
 
Old 03-05-2005, 01:52 PM   #3
Stevecook
Member
 
Registered: Nov 2004
Location: Huddersfield
Distribution: FC2
Posts: 62

Original Poster
Rep: Reputation: 15
dig www.linuxquestions.org resulted in:

; <<>> DiG 9.2.3 <<>> www.linuxquestions.org
;; global options: printcmd
;; connection timed out; no servers could be reached.


Do you know the IP address for www.linuxquestions.org so I can read this forum on my Linux partition?

service nscd restart gave:

Stop nscd FAILED
start nscd OK
 
Old 03-05-2005, 02:30 PM   #4
Stevecook
Member
 
Registered: Nov 2004
Location: Huddersfield
Distribution: FC2
Posts: 62

Original Poster
Rep: Reputation: 15
I found the IP address for www.linuxquestions.org (64.179.4.149) and am now viewing the forum on my Linux partition. I can still only access websites by their IP addresses.
 
Old 03-05-2005, 02:36 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
can you ping those nameserver IP's? try this to use one of those servers by force...
Code:
dig linuxquestions.org @195.92.195.94
 
Old 03-05-2005, 02:43 PM   #6
Stevecook
Member
 
Registered: Nov 2004
Location: Huddersfield
Distribution: FC2
Posts: 62

Original Poster
Rep: Reputation: 15
Here is the output from
dig www.linuxquestions.org @195.92.195.94

; <<>> DiG 9.2.3 <<>> www.linuxquestions.org @195.92.195.94
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34762
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

;; QUESTION SECTION:
;www.linuxquestions.org. IN A

;; ANSWER SECTION:
www.linuxquestions.org. 3085 IN A 64.179.4.149

;; AUTHORITY SECTION:
linuxquestions.org. 3085 IN NS ns1.linuxquestions.net.
linuxquestions.org. 3085 IN NS ns1.linuxquestions.org.
linuxquestions.org. 3085 IN NS ns2.linuxquestions.org.

;; ADDITIONAL SECTION:
ns1.linuxquestions.net. 169941 IN A 64.179.4.147
ns1.linuxquestions.org. 74720 IN A 207.44.183.31
ns2.linuxquestions.org. 74720 IN A 209.152.163.18

;; Query time: 37 msec
;; SERVER: 195.92.195.94#53(195.92.195.94)
;; WHEN: Sat Mar 5 19:39:46 2005
;; MSG SIZE rcvd: 176
 
Old 03-05-2005, 02:50 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try using this as /etc/resolv.conf:
nameserver 213.86.237.244
nameserver 57.67.193.189

Or like chris said - try forcing a lookup:
dig www.linuxquestions.org @213.86.237.244
 
Old 03-05-2005, 02:58 PM   #8
Stevecook
Member
 
Registered: Nov 2004
Location: Huddersfield
Distribution: FC2
Posts: 62

Original Poster
Rep: Reputation: 15
Output from
dig www.linuxquestions.org @213.86.237.244

; <<>> DiG 9.2.3 <<>> www.linuxquestions.org @213.86.237.244
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48666
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;www.linuxquestions.org. IN A

;; ANSWER SECTION:
www.linuxquestions.org. 6824 IN A 64.179.4.149

;; AUTHORITY SECTION:
linuxquestions.org. 6824 IN NS ns1.linuxquestions.org.
linuxquestions.org. 6824 IN NS ns2.linuxquestions.org.
linuxquestions.org. 6824 IN NS ns1.linuxquestions.net.

;; Query time: 47 msec
;; SERVER: 213.86.237.244#53(213.86.237.244)
;; WHEN: Sat Mar 5 19:56:32 2005
;; MSG SIZE rcvd: 128

Last edited by Stevecook; 03-05-2005 at 02:59 PM.
 
Old 03-05-2005, 03:01 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I actually jsut realised I read your previous post wrong. What do you have in /etc/host.conf
 
Old 03-05-2005, 03:06 PM   #10
Stevecook
Member
 
Registered: Nov 2004
Location: Huddersfield
Distribution: FC2
Posts: 62

Original Poster
Rep: Reputation: 15
I just read the tutorial on DNS and tried to find host.conf and I can't. Another little discrepancy is that resolv.conf is in /etc/ppp.
host.conf is not in /etc or /etc/ppp.
 
Old 03-05-2005, 03:11 PM   #11
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Ok, try this:
cp /etc/ppp/resolv.conf /etc/
echo -e "order hosts, bind\nmulti on" > /etc/host.conf

Then try this or mozilla again:
dig www.linuxquestions.org
 
Old 03-05-2005, 03:17 PM   #12
Stevecook
Member
 
Registered: Nov 2004
Location: Huddersfield
Distribution: FC2
Posts: 62

Original Poster
Rep: Reputation: 15
I ran those commands but the browser still didn't work so here is the output of
dig www.linuxquestions.org

; <<>> DiG 9.2.3 <<>> www.linuxquestions.org
;; global options: printcmd
;; connection timed out; no servers could be reached
 
Old 03-05-2005, 03:21 PM   #13
Stevecook
Member
 
Registered: Nov 2004
Location: Huddersfield
Distribution: FC2
Posts: 62

Original Poster
Rep: Reputation: 15
Just found host.conf in /etc and it reads:

order hosts, bind
multi on
 
Old 03-05-2005, 03:54 PM   #14
Stevecook
Member
 
Registered: Nov 2004
Location: Huddersfield
Distribution: FC2
Posts: 62

Original Poster
Rep: Reputation: 15
I've just found a resolv.conf sitting in /etc. The file was empty so I typed in:

nameserver 195.92.195.94
nameserver 195.92.195.95

and saved and immediately my browser started to work correctly.
We must have created the new resolv.conf tonight but why it worked before I messed about with the networking I don't understand.
Thanks for your help - another satisfied customer!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 04:30 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 02:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 02:50 PM
DNS still slow after installing caching DNS mooreted Linux - Networking 16 01-01-2004 01:18 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration