Professional Web Applications Themes

Linux NameServer Problem - Linux Setup, Configuration & Administration

I have a SpeedStream Router its IP address is 192.168.254.200 Whenever I give my linux nameserver a address 192.168.254.x it keeps switching to the SpeedStream router's address when I check the resolv.conf file. What must I do to keep the address I set and not have it use the router's address?...

  1. #1

    Default Linux NameServer Problem

    I have a SpeedStream Router its IP address is 192.168.254.200 Whenever
    I give my linux nameserver a address 192.168.254.x it keeps switching
    to the SpeedStream router's address when I check the resolv.conf file.
    What must I do to keep the address I set and not have it use the
    router's address?
    ericcvt Guest

  2. #2

    Default Re: Linux NameServer Problem

    ericcvt wrote:
    > I have a SpeedStream Router its IP address is 192.168.254.200 Whenever
    > I give my linux nameserver a address 192.168.254.x it keeps switching
    > to the SpeedStream router's address when I check the resolv.conf file.
    > What must I do to keep the address I set and not have it use the
    > router's address?
    You need to add the "-R" option to the line that starts dhcpcd.

    "-R" Prevents dhcpcd from replacing existing /etc/resolv.conf file.

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. [url]http://counter.li.org/[/url]
    Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.3
    Uptime: 17:11, 1 user, load average: 1.56, 1.55, 1.59

    David Guest

  3. #3

    Default Re: Linux NameServer Problem

    On 13 Sep 2003 12:03:28 -0700, [email]ericcvthotmail.com[/email] (ericcvt) wrote:
    >I have a SpeedStream Router its IP address is 192.168.254.200 Whenever
    >I give my linux nameserver a address 192.168.254.x it keeps switching
    >to the SpeedStream router's address when I check the resolv.conf file.
    >What must I do to keep the address I set and not have it use the
    >router's address?
    Which client do you have? Pump, dhcpcd, dhclient or other? Read the
    man for it. There is a way to prevent that. If you give more info,
    you'll get more help.


    Rich Piotrowski

    To reply via E-Mail use rpiotro(at)wi(dot)rr(dot)com
    Rich Piotrowski Guest

  4. #4

    Default Re: Linux NameServer Problem

    Rich Piotrowski <abusewi.rr.com> wrote in message news:<fi57mv0sdd1i9qhankhmuoi4ptnmanccs24ax.com>. ..
    > On 13 Sep 2003 12:03:28 -0700, [email]ericcvthotmail.com[/email] (ericcvt) wrote:
    >
    > >I have a SpeedStream Router its IP address is 192.168.254.200 Whenever
    > >I give my linux nameserver a address 192.168.254.x it keeps switching
    > >to the SpeedStream router's address when I check the resolv.conf file.
    > >What must I do to keep the address I set and not have it use the
    > >router's address?
    >
    > Which client do you have? Pump, dhcpcd, dhclient or other? Read the
    > man for it. There is a way to prevent that. If you give more info,
    > you'll get more help.
    >
    >
    > Rich Piotrowski
    >
    > To reply via E-Mail use rpiotro(at)wi(dot)rr(dot)com
    Rich, I think I'm using dhcpcd. I found a directory for in it in /etc
    and executable in /sbin. I also found a pump executable, too. Is there
    a configuration file where I can tell it to stop using the speedstream
    router's address?
    ericcvt Guest

  5. #5

    Default Re: Linux NameServer Problem

    On 14 Sep 2003 05:43:59 -0700, [email]ericcvthotmail.com[/email] (ericcvt) wrote:
    >Rich Piotrowski <abusewi.rr.com> wrote in message news:<fi57mv0sdd1i9qhankhmuoi4ptnmanccs24ax.com>. ..
    >> On 13 Sep 2003 12:03:28 -0700, [email]ericcvthotmail.com[/email] (ericcvt) wrote:
    >>
    >> >I have a SpeedStream Router its IP address is 192.168.254.200 Whenever
    >> >I give my linux nameserver a address 192.168.254.x it keeps switching
    >> >to the SpeedStream router's address when I check the resolv.conf file.
    >> >What must I do to keep the address I set and not have it use the
    >> >router's address?
    >>
    >> Which client do you have? Pump, dhcpcd, dhclient or other? Read the
    >> man for it. There is a way to prevent that. If you give more info,
    >> you'll get more help.
    >>
    >>
    >> Rich Piotrowski
    >>
    >> To reply via E-Mail use rpiotro(at)wi(dot)rr(dot)com
    >
    >Rich, I think I'm using dhcpcd. I found a directory for in it in /etc
    >and executable in /sbin. I also found a pump executable, too. Is there
    >a configuration file where I can tell it to stop using the speedstream
    >router's address?
    We still don't know what distro you have! If both those clients are
    there, it is difficult to tell which one is being used!

    If you have a recent RedHat, you can do this. Look for the file
    "/etc/sysconfig/network-scripts/ifcfg-eth0" add the following to that
    file;

    PEERDNS=no

    That should fix it. Otherwise, we still need to *KNOW* which client is
    being used and how it is called! Try doing a "ps aux | more" to find
    out which is being used. If you then find out where it is called, use
    the following switches, For pump it is "-d", for dhcpcd it is "-R".
    Those will prevent the client from replacing resolv.conf


    Rich Piotrowski

    To reply via E-Mail use rpiotro(at)wi(dot)rr(dot)com
    Rich Piotrowski Guest

  6. #6

    Default Re: Linux NameServer Problem

    Rich Piotrowski <rr.com> wrote in message news:<com>... 
    > >
    > >Rich, I think I'm using dhcpcd. I found a directory for in it in /etc
    > >and executable in /sbin. I also found a pump executable, too. Is there
    > >a configuration file where I can tell it to stop using the speedstream
    > >router's address?[/ref]
    >
    > We still don't know what distro you have! If both those clients are
    > there, it is difficult to tell which one is being used!
    >
    > If you have a recent RedHat, you can do this. Look for the file
    > "/etc/sysconfig/network-scripts/ifcfg-eth0" add the following to that
    > file;
    >
    > PEERDNS=no
    >
    > That should fix it. Otherwise, we still need to *KNOW* which client is
    > being used and how it is called! Try doing a "ps aux | more" to find
    > out which is being used. If you then find out where it is called, use
    > the following switches, For pump it is "-d", for dhcpcd it is "-R".
    > Those will prevent the client from replacing resolv.conf
    >
    >
    > Rich Piotrowski
    >
    > To reply via E-Mail use rpiotro(at)wi(dot)rr(dot)com[/ref]

    Thanks Rich, the address is not being set to the router's address
    anymore, since I typed PEERDNS=no in the ifcf... file. Unfortunately
    I'm now experiencing other headaches.
    ericcvt Guest

Similar Threads

  1. FMS under Linux problem
    By DC_Jean in forum Macromedia Flash Flashcom
    Replies: 0
    Last Post: February 11th, 09:37 PM
  2. Another Linux problem
    By wg4ray in forum Macromedia Flash Player
    Replies: 6
    Last Post: November 21st, 06:09 PM
  3. named.hosts nameserver listing format
    By BG in forum Linux / Unix Administration
    Replies: 5
    Last Post: July 30th, 02:50 PM
  4. linux 7.3 problem(please help)
    By Bit Twister in forum Linux Setup, Configuration & Administration
    Replies: 4
    Last Post: July 25th, 07:44 PM
  5. Requirement of a nameserver to answer?
    By Jonathan de Boyne Pollard in forum UNIX Programming
    Replies: 0
    Last Post: June 30th, 09:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139