Re: router DNS

From: John-Paul Stewart (jpstewart_at_sympatico.ca)
Date: 01/12/04

  • Next message: ixtahdoom: "Fedora + Vnc + Gvim = System Crash, how 2 debug?"
    Date: Mon, 12 Jan 2004 14:13:04 -0500
    
    

    johnny bobby bee wrote:
    >
    > John-Paul Stewart typed:
    >
    > > You need to
    > > find the config file for your DHCP client and tell it not to get DNS
    > > info via DHCP.
    >
    > found /sbin/dhclient-script - but it's a bit beyond my level of scripting
    > knowledge. i imagine that first function () is what does it, but there are
    > other references to /etc/resolv.conf in the file.
    >
    > can anyone tell me where i'd have to make the changes?

    Do *NOT* change that script. (It may break things and will get
    overwriten during package upgrades anyway.)

    You need to find the appropriate config file, probably somewhere under
    /etc. /etc/sysconfig might be the directory to try. 'man dhclient'
    should tell you exactly what config file it uses. Edit the specified
    config file, not the script itself. A first guess would be to add
    "USEPEERDNS=no" to the appropriate config file (without quotes), but
    again 'man dhclient' (or whatever the name of your DHCP client is)
    should tell you exactly what you need to change.

    I'll repeat: *do* *not* edit the script in /sbin.


  • Next message: ixtahdoom: "Fedora + Vnc + Gvim = System Crash, how 2 debug?"

    Relevant Pages

    • RE: Using dhclient to update zoneedit with my dynamic IP address
      ... but it exceeds my script coding ability. ... I added some comments to your sample but I may be lost. ... # Old and new ip address fields are populated by dhclient, ... # which keeps the old used IP address in some config file ...
      (freebsd-questions)
    • Re: Analysis Services Command line
      ... You will see that there is a switch to supply a config file. ... variable and then have the DDL task take the script from the variable. ... I am learning to use the DTEXEC. ... >> Within an IS package there is a new task called Execute Analysis Services ...
      (microsoft.public.sqlserver.olap)
    • Re: Why not XML based configurationfiles?
      ... >>I still have yet to see your working shell script that can parse XML ... Sure one might need to parse a config file in a shell script "for ... the XML file directly or make heavy use of cfg-tool. ...
      (comp.os.linux.misc)
    • loadtimes script
      ... Here is the script and a sample config file. ... # parts of the process the transition was between. ... TransitionFromProcessRef (VARCHAR) "%s" ...
      (comp.programming)
    • Re: Whereis Kernel? & Why Debian "KDE" freezing?
      ... > There is no config file in. ... Thats not a Script, thats the kernel. ... your KDE is unstable. ...
      (alt.linux)