Re: fc3: how to change dns settings in a script file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 17 March 2005 10:41, rado wrote:
> ugggggg....sorry for that last post...brain fart
>
> On Thu, 2005-03-17 at 10:23 -0600, rado wrote:
> > hi y'all
> > I'm having trouble finding info on the dns settings
> > ...k...in the Network configuration GUI...then DNS
> > I want to manage these settings in a script, NOT the gui
> > really want to change the primary dns address is all
> >
> > thx
> > John Rose
>
> ummmm. I think the file that controls this is /etc/resolv.conf
>
> I am thinking that what I could do is make up a couple resolv.conf.n
> where n is the ip I want to point to.
>
> then in the script...just copy that to the resolv.conf.
>
> y'all think this is the correct way to do it tho?
If it works, it's correct.   How efficient, flexible, or elegant could be 
debated.  That method looks good to me.

-- 
Paul Almquist
paul@xxxxxxxxxxxxx
Eau Claire, WI  USA


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux