The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Configuring snmpd.conf and snmptrapd.conf jagdish.machhi@ UNIX for Advanced & Expert Users 2 04-17-2008 03:01 PM
overriding /etc/resolv.conf with .nslookuprc file smanu IP Networking 3 12-31-2006 12:19 PM
logrotate.conf fredao UNIX for Advanced & Expert Users 10 12-19-2006 09:57 AM
/etc/resolv.conf rpnhavoc IP Networking 1 02-11-2002 01:04 PM
Mail and remote logins & resolv.conf DGM IP Networking 2 11-21-2001 11:41 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-24-2002
b03der b03der is offline
Registered User
  
 

Join Date: Jul 2002
Posts: 6
Unhappy dns and resolv.conf

Hi ,,still struggling with unix ,,the system is running sco openserver release 5 and have dsl installed ,, the dsl modem is a bt router which in turn is connected to a vpn hardware router,, which also serves internet to the whole network ,, but i still cant connect to the internet via the unix box ,,i have edited the resolv.conf file with the following settings,,

domain btopenworld.com
nameserver 217.37.41.254

these settings where given to me by btopenworld ,,the ip is the adress of the bt modem which works on all windows based machines . any help would be usefull

Thanks in advance

P.S. i have read lots of links on the subject in the forum and tried most things here ,,,i must be missing something totally simple me thinks !!!

I have already set up the vpn router as the gateway too on the unix box
  #2 (permalink)  
Old 07-24-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
I did a nslookup of the MX record to grab the dns servers for btopenworld.com and got the following:

> set type=mx
> btopenworld.com
Server: which1.mycom.com
Address: 10.140.16.20

btopenworld.com preference = 10, mail exchanger = stargate.btinternet.com
btopenworld.com preference = 20, mail exchanger = moongate.btinternet.com
btopenworld.com nameserver = dns1.btinternet.com
btopenworld.com nameserver = dns2.btinternet.com
dns1.btinternet.com internet address = 194.73.73.95
dns2.btinternet.com internet address = 194.73.73.94

I then set my server to dns1 and type to address

> server dns1.btinternet.com
Default Server: dns1.btinternet.com
Address: 194.73.73.95

> set type=a
> 217.37.41.254
Server: dns1.btinternet.com
Address: 194.73.73.95

Name: host217-37-41-254.in-addr.btopenworld.com
Address: 217.37.41.254

I believe the address is your system, not the DNS nameserver (unless you are running DNS on the server). Try setting your nameserver to 194.73.73.95. If that works, add a second nameserver of 194.73.73.94 (dns2).

Last edited by RTM; 07-24-2002 at 10:55 AM..
  #3 (permalink)  
Old 07-24-2002
b03der b03der is offline
Registered User
  
 

Join Date: Jul 2002
Posts: 6
Hi ,,
The ip address 217.37.41.254 is the address of the bt modem/router but i tried changing the settings in resolv.conf with no luck ,, havent restarted the system though ,dont know if this will make any difference ,,thanx for your help though ,,, will restart later when all are logged off

Cheers b03der
  #4 (permalink)  
Old 07-24-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
If you changed resolv.conf, the change is immediate - no reboot needed.
  #5 (permalink)  
Old 07-24-2002
b03der b03der is offline
Registered User
  
 

Join Date: Jul 2002
Posts: 6
Thanx RTM ,, this system has 2 network cards installed with only one actually used ,,when using netstat it is listed as having an ip address the corresponds to our network ,,could this somehow be causing a problem ,, ,would it be worth while actually removing this card completely ,,or using this card and connecting it direct to the bt router with a static ip address (5 are available )

Thanx b03der
  #6 (permalink)  
Old 07-24-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Okay, I checked and the nameserver you had listed is running DNS.

> server 217.37.41.254
Default Server: host217-37-41-254.in-addr.btopenworld.com
Address: 217.37.41.254

> set class=chaos
> set type=txt
> version.bind.
Server: host217-37-41-254.in-addr.btopenworld.com
Address: 217.37.41.254

VERSION.BIND text = "8.3.3-REL"

Please give some more information:

1. Is this a new install - first time trying to get the unix server on the internet?
2. Can you ping 217.37.41.254 ?
3. Can you ping other hosts on your network (if any)?

The network card being used with a IP address that corresponds to your network - is that part of the 217.37.41 subnet? (Removing the card would probably not be needed.) It's possible that a route is needed - how are you connected to the bt router?
  #7 (permalink)  
Old 07-25-2002
b03der b03der is offline
Registered User
  
 

Join Date: Jul 2002
Posts: 6
Hi,,
The bt router is connected to a linksys vpn server/router, this then distributes the internet to our local network ,,, the ip of the bt router is 217.37.41.254 the internal network has an ip address of 192.168.2.??? i can ping the linksys box which has an ip of 192.168.2.254 but cant ping the bt router ,,but i can ping the machines through the other side of the vpn which are on a different ip (192.168.1.??? ) i have entered the vpn as the default gateway on the unix box ,, this is a first install of trying to get this box on the net ,, the unix box is just connected to a hub,,the other network card in the unix box has an ip that corresponds to our internal network (192.168.2.???) but isnt connected to anything ,,

Thank you


B03der
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0