Victor:
I edited /etc/network.conf DNS to:
#Domain Search Oreder and Name Servers            Requires: CONFIG_DNS=YES
DNS0=192.168.1.254
DNS1=64.105.0.58

The CONFIG_DNS=YES was already set to yes near the top of the network.conf file.
My resolv.conf file still is showing up as:
#
# Gererated by dhcpcd from DHCP server information.
#
domain private.network
nameserver 192.168.1.254

Is there something else that I am not doing to get my resolv.conf file to show my edited version of:
#
# Generated by dhcpcd from DHCP server information
#
domain covad.net
search covad.net
nameserver 192.168.1.254
nameserver 64.105.0.58
nameserver 64.105.0.250

Also after I have edited the resolv.conf to the above version, I did an nslookup:
*** Can't find server name for address 192.168.1.254: No responce from server
Default server: Chcgilgm-pub-ns1.covad.net
Address: 64.105.0.58

Thank You
Robert Chambers


Victor McAllister wrote:
I put this in /etc/network.conf
# Domain Search Order and Name Servers Requires: CONFIG_DNS=YES
DNS0=192.168.1.254
DNS1=your primary isp DNS - not really needed but it wont hurt

I also put in make this yes in /etc/network.conf
CONFIG_DNS=YES
this sets up resolv.conf
My resolve.conf is setup by /etc/network.conf and looks like this
# cat /etc/resolv.conf
# This file was generated by /etc/rcS.d/S39network. It may be overwritten!
search private.network
nameserver 192.168.1.254
nameserver 208.201.224.11
nameserver 127.0.0.1

By the way, resolv.conf only tells the router where to resolve names.
DHCP tells the clients to use 192.168.1.254 as their name server - faster &
secure.
I prefer to use dhcp for all my network computers including Linux. Remember
that dhcpd can assign static ips with dhcp - which is what I use. Looks
like this in

# cat /etc/dhcpd.conf< br>
dynamic-bootp-lease-length 604800;
max-lease-time 1209600;

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.254;
option domain-name "private.network";
option domain-name-servers 192.168.1.254;
range 192.168.1.10 192.168.1.100;

host victormc {
hardware ethernet 00:c0:f0:56:2e:5e;
fixed-address 192.168.1.1;
}
host nilamc {
hardware ethernet 00:48:54:63:29:76;
fixed-address 192.168.1.2;
}
host leonila {
hardware ethernet 00:50:ba:d7:d3:fa;
fixed-address 192.168.1.3;
}
host book {
hardware ethernet 00:e0:98:86:d0:01;
fixed-address 192.168.1.4;
}
host MJM {
hardware ethernet 00:00:40:40:33:33;
fixed-address 192.168.1.6;
}

}


notice that the static ips assigned by dhcpd are not in the range....
PS my ham call is KD6UPL


You suggested to change /ete/network.conf to make 192.168.1.254 as my
DNS insted of the isps machine?
Could you please expand upon this for me since I still consider myself a
newbie to Linux? Ray told me to edit this same file on the lrp, and I
tried to add my extra nameservers to the /etc/network.conf but it did
not work ( unless I did it wrong).
What is sent from the lrp to the Linux machine is:
resolv.confg

#
# Generated by dhcpcd from DHCP server information.
#
domain private.network
nameserver 192.168.1.254

If I edit the resolv.confg file to:

#
# Generated by dhcpcd from DHCP server information.
#
domain covad.net
search covad.net
nameserver 192.168.1.254
nameserver 64.105.0.58
nameserver 64.105.0.250

Then the Linux machine connects to the Internet, and everytime that I
boot the Linux partition on this machine I must edit the resolv.confg
file to connect to the Inter net. The Windoze 98 partition works fine
with a static ip address assigned to it , give it the DNS entries and
its happy.
Robert Chambers






Reply via email to