LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Host resolution issues (https://www.linuxquestions.org/questions/linux-networking-3/host-resolution-issues-225339/)

trbdk3 09-01-2004 01:53 PM

Host resolution issues
 
This is the situation:
I am trying to set up my RedHat box to access the internet with an ORINOCO RG 1000, using an ORINOCO Silver card. At the current time I can't get the device to enable, but the big problem I've had is not being able to resolve host names. I've been able to use host to determine the IP for web cites and been able to visit them, but never for the system to do it by itself.

RESOLUTION
I figured out what the problem was.
The type of gateway I'm using (Orinoco RG 1000) uses a mask for the DHCP server, called 10.0.1.1 (when using the 10.x range). This functions fine under Windows, but for Linux it requires hard coding the IPs of the DNS servers on campus (for the campus network) into resolv.conf.
I added the lines
nameserver XXXXXXXXXXXXXX # for primary
nameserver XXXXXXXXXXXXXX # for secondary
to resolv.conf
and edited the file /sbin/dhclient-script and commented out all if make_resolv_conf fi lines so that the changes I've made don't get over written.

andresurzagasti 09-01-2004 08:17 PM

name resolution things
 
DNS resolution bases in /etc/resolv.conf file

check this file and add your ISP nameservers, like that:

nameserver 200.43.113.1
nameserver 200.43.113.2

regards
Andres


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