Re: How to force a static /etc/resolv.conf?

2013-06-13 Thread Darren Pilgrim
On 2013-06-12 17:46, Darren Pilgrim wrote: How do I tell resolvconf to always use a static configuration or, better yet, to not muck with /etc/resolv.conf at all? According to the project developer, the answer is to have resolvconf not touch /etc/resolv.conf by put the following in /etc

Re: How to force a static /etc/resolv.conf?

2013-06-13 Thread Darren Pilgrim
On 2013-06-13 05:02, Loic Capdeville wrote: You can configure it in your dhclient.conf file. Use the supersede keyword. For example, in your case add: supersede domain-search "example.com example.net" supersede domain-name-servers 2001:db8::53 That only addresses the DHCPv4 cli

Re: How to force a static /etc/resolv.conf?

2013-06-13 Thread Loic Capdeville
On 13/06/2013 02:46, Darren Pilgrim wrote: I'm running 9.1. I run a local recursive resolver, so my /etc/resolv.conf needs to remain static. I have DHCPv4, DHCPv6 and VPN clients running which all want to modify /etc/resolv.conf. I have set in /etc/resolvconf.conf: search_do

How to force a static /etc/resolv.conf?

2013-06-12 Thread Darren Pilgrim
I'm running 9.1. I run a local recursive resolver, so my /etc/resolv.conf needs to remain static. I have DHCPv4, DHCPv6 and VPN clients running which all want to modify /etc/resolv.conf. I have set in /etc/resolvconf.conf: search_domains="example.com. example.net." name_se

resolvconf overwriting /etc/resolv.conf

2012-12-18 Thread Ruben de Groot
Hi, I run bind on a LAN, with some LAN-only (sub)domains. On the LAN is also a DSL modem/router that advertises ipv6 addresses. So far so good. However, since I upgraded the server from 8-STABLE to 9.1-PRERELEASE, the /etc/resolv.conf gets overwritten by the resolvconf script, with an ipv6

Re: sendmail && resolv.conf changes

2010-09-14 Thread Matthias Apitz
El día Tuesday, September 14, 2010 a las 05:49:07PM +0200, Terrence Koeman escribió: > > > What I wanted to say: sendmail runs and DHCP changes in certain > > > situations the IP, routing and DNS, and sendmail does not adopt on > > these > > > changes. > > > > > It might be an idea to (mis)use th

RE: sendmail && resolv.conf changes

2010-09-14 Thread Terrence Koeman
> -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of tomasz dereszynski > Sent: Tuesday, September 14, 2010 11:28 AM > To: Matthias Apitz; freebsd-questions@freebsd.org > Subject: Re: sendmail &

Re: sendmail && resolv.conf changes

2010-09-14 Thread tomasz dereszynski
> El día Tuesday, September 14, 2010 a las 09:15:49AM +0100, tomasz > dereszynski escribió: > >> >> > >> > Hello, >> > >> > When using a laptop it is normal that there are some changes in >> > resolv.conf during the live, for example:

Re: sendmail && resolv.conf changes

2010-09-14 Thread Matthias Apitz
El día Tuesday, September 14, 2010 a las 09:15:49AM +0100, tomasz dereszynski escribió: > > > > > Hello, > > > > When using a laptop it is normal that there are some changes in > > resolv.conf during the live, for example: > > > > boot time: no

Re: sendmail && resolv.conf changes

2010-09-14 Thread tomasz dereszynski
> > Hello, > > When using a laptop it is normal that there are some changes in > resolv.conf during the live, for example: > > boot time: no network available > start of PPP over UMTS: resolv.conf from provider > start VPN to connect to company: resolv.conf from comp

sendmail && resolv.conf changes

2010-09-14 Thread Matthias Apitz
Hello, When using a laptop it is normal that there are some changes in resolv.conf during the live, for example: boot time: no network available start of PPP over UMTS: resolv.conf from provider start VPN to connect to company: resolv.conf from company ... it seems that sendmail is not aware

sendmail && /etc/resolv.conf modified by DHCP

2010-04-09 Thread Matthias Apitz
.xx.10093 > 192.168.2.1.53: 12794+ ? des.no. (24) The reason is obvious: - the /etc/resolv.conf on shutdown at home has this DNS resolver; - in my office the system comes up and when at some point the WLAN interface associates, it gets an IP and a new /etc/resolv.conf file; Why sendmail does no

ip refresh, resolv.conf and local scripts on startup?

2007-05-09 Thread Richard Simmonds
. > [also to make things more complicated, I think I need a rule in > rc.firewallto allow for DHCP clients to go out? It gets blocked on > external interface when firewall comes up??] Looks like you're using ipfw, in which case this works for me: # /etc/rc.d/ipfw restart >

Re: ip refresh, resolv.conf and local scripts on startup?

2007-05-09 Thread RW
?] I doesn't appear to matter, I think dhclient bypasses the firewall. at least that's my experience with PF. > Also how do I override /etc/resolv.conf? DHCP client configures it I > think and sets it up to point to my ISP DNS servers (which suck) and > would like to give it mine in

Re: ip refresh, resolv.conf and local scripts on startup?

2007-05-09 Thread Jack Barnett
hrm, thanks, but this doesn't seem to work: `ifconfig xl0 down` doesn't do anything... executes without error, but the interface stays up. `/sbin/dhclient` gets a new IP, but doesn't "re-do" the firewall with new IP, so everything is broken. echo nameserver 123.34.

ip refresh, resolv.conf and local scripts on startup?

2007-05-08 Thread Jack Barnett
e-ran if the IP is new). [also to make things more complicated, I think I need a rule in rc.firewallto allow for DHCP clients to go out? It gets blocked on external interface when firewall comes up??] Also how do I override /etc/resolv.conf? DHCP client configures it I think and sets it up to point to my I

Re: ppp.conf + resolv.conf

2007-05-08 Thread Tom Evans
hed out DNS > > servers to my current resolv.conf but anytime I enable dns in my > > ppp.conf it nukes my entire resolv.conf! > > > > I am looking to end up with this: > > > > % cat /etc/resolv.conf > > domain mydomain > > nameserver 192.168.1.

Re: ppp.conf + resolv.conf

2007-05-06 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 JD Bronson wrote: > I am using 6.2 as a DSL (PPPoE) router and also run my own internal DNS > on the same machine. I would like to APPEND my ISP's dished out DNS > servers to my current resolv.conf but anytime I enable dns in my >

RE: ppp.conf + resolv.conf

2007-05-06 Thread JD Bronson
At 01:12 PM 5/6/2007 -0400, Bob wrote: Be sure you have this statement in your ppp.conf enable dns # Gets the ISP's DNS IP address & places them # in resolv.conf for reference by FBSD. But this overwrites my resolv.conf doesnt it? thats what I am trying to a

RE: ppp.conf + resolv.conf

2007-05-06 Thread Bob
Be sure you have this statement in your ppp.conf enable dns # Gets the ISP's DNS IP address & places them # in resolv.conf for reference by FBSD. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of JD Bronson Sent: Sunday, May 06, 2007 11:40 AM To

ppp.conf + resolv.conf

2007-05-06 Thread JD Bronson
I am using 6.2 as a DSL (PPPoE) router and also run my own internal DNS on the same machine. I would like to APPEND my ISP's dished out DNS servers to my current resolv.conf but anytime I enable dns in my ppp.conf it nukes my entire resolv.conf! I am looking to end up with this:

Re: PPP and resolv.conf

2007-04-18 Thread Lowell Gilbert
"Richard Simmonds" <[EMAIL PROTECTED]> writes: > > > -Original Message- > From: RW [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 18, 2007 1:11 AM > To: freebsd-questions@freebsd.org > Cc: [EMAIL PROTECTED] > Subject: Re: PPP and resolv.con

RE: PPP and resolv.conf

2007-04-18 Thread Richard Simmonds
-Original Message- From: RW [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 1:11 AM To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Subject: Re: PPP and resolv.conf On Tue, 17 Apr 2007 14:48:25 +0800 "Richard Simmonds" <[EMAIL PROTECTED]> wrote:

Re: PPP and resolv.conf

2007-04-17 Thread RW
On Tue, 17 Apr 2007 14:48:25 +0800 "Richard Simmonds" <[EMAIL PROTECTED]> wrote: > > >How can I stop ppp from modifying my /etc/resolv.conf? > >Everytime I establish a pppoe session, my resolv.conf file gets > reconfigured to my ISPs DNS Servers. > > I

PPP and resolv.conf

2007-04-17 Thread Richard Simmonds
>How can I stop ppp from modifying my /etc/resolv.conf? >Everytime I establish a pppoe session, my resolv.conf file gets reconfigured to my ISPs DNS Servers. It's dhclient, not ppp that's modding the file. Adding this to your dhclient.conf file will fix the problem interfa

Re: PPP and resolv.conf

2007-04-17 Thread Ivan Carey
Daniel Marsh wrote: On 4/17/07, Ansar Mohammed <[EMAIL PROTECTED]> wrote: How can I stop ppp from modifying my /etc/resolv.conf? Everytime I establish a pppoe session, my resolv.conf file gets reconfigured to my ISPs DNS Servers. You could make resolv.conf to what you want it to be an

Re: PPP and resolv.conf

2007-04-16 Thread Daniel Marsh
On 4/17/07, Ansar Mohammed <[EMAIL PROTECTED]> wrote: How can I stop ppp from modifying my /etc/resolv.conf? Everytime I establish a pppoe session, my resolv.conf file gets reconfigured to my ISPs DNS Servers. You could make resolv.conf to what you want it to be and then do: chflag

PPP and resolv.conf

2007-04-16 Thread Ansar Mohammed
How can I stop ppp from modifying my /etc/resolv.conf? Everytime I establish a pppoe session, my resolv.conf file gets reconfigured to my ISPs DNS Servers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: dhclient.conf + resolv.conf

2007-03-03 Thread Jonathan Horne
On Friday 02 March 2007 15:16, J.D. Bronson wrote: > I am trying to have dhclient setup my resolv.conf perfect. > I am very close. > > I have this in dhclient.conf: > > - > interface "bge1" { > supersede domain-name "wixb.com&q

dhclient.conf + resolv.conf

2007-03-02 Thread J.D. Bronson
I am trying to have dhclient setup my resolv.conf perfect. I am very close. I have this in dhclient.conf: - interface "bge1" { supersede domain-name "wixb.com"; prepend domain-name-servers 192.l68.1.1; request subnet-mask, broadcast-addr

Re: Is a re-boot req'd after changing 'resolv.conf' ?

2007-01-25 Thread Ivan Voras
V.I.Victor wrote: > I'm simply going to change 2 "nameserver" ip-addresses. > > Most of what I've found re. 'resolv.conf' implies it can just be changed > on-the-fly. However, other sources (mostly upgrading info) have a reboot > involved. > &g

Re: Is a re-boot req'd after changing 'resolv.conf' ?

2007-01-25 Thread David Kelly
On Thu, Jan 25, 2007 at 12:15:47PM -0800, Chuck Swiger wrote: > On Jan 25, 2007, at 11:53 AM, V.I.Victor wrote: > > > >So -- re-boot or not? (Note: this is a static-ip box running v5.4.) > > There is no reason to reboot after changing /etc/resolv.conf. Almost > ever

Re: Is a re-boot req'd after changing 'resolv.conf' ?

2007-01-25 Thread Grant
You shouldnt need to reboot after adding a nameserver. I'm not sure if you need to if you change domain names in there. Grant. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: Is a re-boot req'd after changing 'resolv.conf' ?

2007-01-25 Thread Chuck Swiger
On Jan 25, 2007, at 11:53 AM, V.I.Victor wrote: I'm simply going to change 2 "nameserver" ip-addresses. Most of what I've found re. 'resolv.conf' implies it can just be changed on-the-fly. However, other sources (mostly upgrading info) have a reboot involved.

Is a re-boot req'd after changing 'resolv.conf' ?

2007-01-25 Thread V.I.Victor
I'm simply going to change 2 "nameserver" ip-addresses. Most of what I've found re. 'resolv.conf' implies it can just be changed on-the-fly. However, other sources (mostly upgrading info) have a reboot involved. So -- re-boot or not? (Note: this is a static

Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-16 Thread Garrett Cooper
On Jan 16, 2007, at 12:36 AM, [LoN]Kamikaze wrote: linux quest wrote: Since, I desperately needed to connect to the Internet at this point of time, I create a file called resolv.conf in /root ... I am thinking how can I create a script so that it can copy resolv.conf from /root to /etc

Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-16 Thread [LoN]Kamikaze
linux quest wrote: > Since, I desperately needed to connect to the Internet at this point of > time, I create a file called resolv.conf in /root ... I am thinking how > can I create a script so that it can copy resolv.conf from /root to > /etc/resolv.conf every 30 minutes at start

Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-16 Thread Jay Chandler
George Vanev wrote: If you really want to copy resolv.conf from /root to /etc every 30 min you don't need a startup script. Just add the following line in /etc/crontab: */30 * * * * rootcp /root/resolv.conf /etc/resolv.conf I don't know what exact

Re: How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-15 Thread George Vanev
If you really want to copy resolv.conf from /root to /etc every 30 min you don't need a startup script. Just add the following line in /etc/crontab: */30 * * * * rootcp /root/resolv.conf /etc/resolv.conf I don't know what exactly are you trying to do, b

How about a Start-Up Script that execute every 30 minutes for resolv.conf???

2007-01-15 Thread linux quest
Dear Jay & The FreeBSD Communities, Thanks for putting your time and patience to help me out. Anyway, I tried it out, both changing the rc.conf and the dhclient.conf (one at a time). After that (for both of the ways), I did manage to stop the resolv.conf from being overwritten after th

Re: How did the /etc/resolv.conf appear?

2006-12-17 Thread a
On Sun, Dec 17, 2006 at 06:42:46PM +0100, [LoN]Kamikaze wrote: > [EMAIL PROTECTED] wrote: > > The automatically installed /etc/resolv.conf > > contains the next: > > > > nameserver 82.207.67.2 > > nameserver 213.179.244.18 > > > > Today I d

Re: How did the /etc/resolv.conf appear?

2006-12-17 Thread a
On Sun, Dec 17, 2006 at 06:42:46PM +0100, [LoN]Kamikaze wrote: > [EMAIL PROTECTED] wrote: > > The automatically installed /etc/resolv.conf > > contains the next: > > > > nameserver 82.207.67.2 > > nameserver 213.179.244.18 > > > > Today I d

Re: How did the /etc/resolv.conf appear?

2006-12-17 Thread a
On Sun, Dec 17, 2006 at 06:42:46PM +0100, [LoN]Kamikaze wrote: > [EMAIL PROTECTED] wrote: > > The automatically installed /etc/resolv.conf > > contains the next: > > > > nameserver 82.207.67.2 > > nameserver 213.179.244.18 > > > > Today I d

Re: How did the /etc/resolv.conf appear?

2006-12-17 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > The automatically installed /etc/resolv.conf > contains the next: > > nameserver 82.207.67.2 > nameserver 213.179.244.18 > > Today I discovered that this servers is not servers of FreeBSD.org > or

Re: How did the /etc/resolv.conf appear?

2006-12-17 Thread [LoN]Kamikaze
[EMAIL PROTECTED] wrote: > The automatically installed /etc/resolv.conf > contains the next: > > nameserver 82.207.67.2 > nameserver 213.179.244.18 > > Today I discovered that this servers is not servers of FreeBSD.org > or InterNIC, but of my ISP. > > I wonder

How did the /etc/resolv.conf appear?

2006-12-17 Thread Robert Huff
[EMAIL PROTECTED] writes: > The automatically installed /etc/resolv.conf > contains the next: > > nameserver 82.207.67.2 > nameserver 213.179.244.18 > > Today I discovered that this servers is not servers of FreeBSD.org > or InterNIC, but of my ISP. >

Re: How did the /etc/resolv.conf appear?

2006-12-17 Thread Javier Henderson
On Dec 17, 2006, at 12:17 PM, [EMAIL PROTECTED] wrote: The automatically installed /etc/resolv.conf contains the next: nameserver 82.207.67.2 nameserver 213.179.244.18 Today I discovered that this servers is not servers of FreeBSD.org or InterNIC, but of my ISP. I wonder how the system

Re: How did the /etc/resolv.conf appear?

2006-12-17 Thread Dan Nelson
In the last episode (Dec 17), [EMAIL PROTECTED] said: > The automatically installed /etc/resolv.conf > contains the next: > > nameserver 82.207.67.2 > nameserver 213.179.244.18 > > Today I discovered that this servers is not servers of FreeBSD.org > or InterNIC, but of m

Re: How did the /etc/resolv.conf appear?

2006-12-17 Thread Peter Matulis
--- [EMAIL PROTECTED] wrote: > The automatically installed /etc/resolv.conf > contains the next: > > nameserver 82.207.67.2 > nameserver 213.179.244.18 > > Today I discovered that this servers is not servers of FreeBSD.org > or InterNIC, but of my ISP. > > I won

Re: How did the /etc/resolv.conf appear?

2006-12-17 Thread Eric
[EMAIL PROTECTED] wrote: The automatically installed /etc/resolv.conf contains the next: nameserver 82.207.67.2 nameserver 213.179.244.18 Today I discovered that this servers is not servers of FreeBSD.org or InterNIC, but of my ISP. I wonder how the system found these IP addresses? Are

How did the /etc/resolv.conf appear?

2006-12-17 Thread a
The automatically installed /etc/resolv.conf contains the next: nameserver 82.207.67.2 nameserver 213.179.244.18 Today I discovered that this servers is not servers of FreeBSD.org or InterNIC, but of my ISP. I wonder how the system found these IP addresses? Are these entries created during

resolv.conf and IPv6 and DHCP for IPv6

2006-12-05 Thread Andrew Falanga
Is there anything different with entries in resolv.conf for IPv6 addresses? I'm looking at the manual page for resolv.conf and didn't find anything specific to IPv6. Therefore, I'm assuming that the entry would simply be: nameserver fec0::3 vs. nameserver 192.168.0.1 Or wha

Re: dhcp resolv.conf and loading priority of network cards

2006-06-22 Thread dick hoogendijk
> hostname="arwen.nagual.st" > > ifconfig_re0="192.168.11.29 netmask 255.255.255.0" > > ifconfig_ath0="dhcp ssid air01 nwkey 0xc1e1639b753021ab6d64be2575 > > hidessid authmode shared" > > > > What happens is that the ath0 card gets loa

Re: dhcp resolv.conf and loading priority of network cards

2006-06-22 Thread Mikhail Goriachev
5.0" > ifconfig_ath0="dhcp ssid air01 nwkey 0xc1e1639b753021ab6d64be2575 > hidessid authmode shared" > > What happens is that the ath0 card gets loaded first (not wanted!) plus > the dhcp setting changes my resolv.conf (not wanted either). > > How do I get this changed? re0

dhcp resolv.conf and loading priority of network cards

2006-06-22 Thread dick hoogendijk
6d64be2575 hidessid authmode shared" What happens is that the ath0 card gets loaded first (not wanted!) plus the dhcp setting changes my resolv.conf (not wanted either). How do I get this changed? re0 first, than my ath0 and NO changes to resolv.conf? System: freebsd-6.1R -- dick -- http

RE: Getting DHCP to use resolv.conf? AN ANSWER

2006-05-03 Thread Murray Taylor
> -Original Message- > From: fbsd [mailto:[EMAIL PROTECTED] > Sent: Thursday, 4 May 2006 10:56 AM > To: Murray Taylor > Cc: freebsd-questions > Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER > > > > > > > -Original Message- > &g

RE: Getting DHCP to use resolv.conf? AN ANSWER

2006-05-03 Thread Murray Taylor
> -Original Message- > From: fbsd [mailto:[EMAIL PROTECTED] > Sent: Thursday, 4 May 2006 11:02 AM > To: Murray Taylor > Cc: freebsd-questions > Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER > > > > The script I sent are operational on FBSD 4.1

RE: Getting DHCP to use resolv.conf? AN ANSWER

2006-05-03 Thread fbsd
The script I sent are operational on FBSD 4.11 with the enter/exit-hooks scripts that are part of the base install. NB Dont forget I run the ipf firewall rewrite rules script manually as root when my IP number changes, but the DHCP -> resolv.conf is automatic via exit-hooks The scripts

RE: Getting DHCP to use resolv.conf? AN ANSWER

2006-05-03 Thread fbsd
> > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Murray Taylor > Sent: Sunday, April 30, 2006 7:56 PM > To: Lowell Gilbert > Cc: freebsd-questions@freebsd.org > Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER &

RE: Getting DHCP to use resolv.conf? AN ANSWER

2006-05-03 Thread Murray Taylor
> -Original Message- > From: fbsd [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 3 May 2006 10:36 PM > To: Murray Taylor > Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER > > > > -Original Message- > > From: [EMAIL PROTECTED] > >

RE: Getting DHCP to use resolv.conf?

2006-04-30 Thread fbsd
ient-exit-hooks file if it exists. Create a empty /etc/dhclient-exit-hooks file and populate with this ### Start of refresh dhcpd dns ip # This script will propagate to dhcpd the changed dns servers ip address # which dhcp-client puts in resolv.conf. # # In dh

RE: Getting DHCP to use resolv.conf? AN ANSWER

2006-04-30 Thread Murray Taylor
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Lowell Gilbert > Sent: Friday, 28 April 2006 11:09 PM > To: [EMAIL PROTECTED] > Cc: freebsd-questions@freebsd.org > Subject: Re: Getting DHCP to use resolv.conf? >

Re: Getting DHCP to use resolv.conf?

2006-04-28 Thread Lowell Gilbert
approach to the same problem, and will generally perform better.] > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Bill Moran > Sent: Wednesday, April 26, 2006 5:06 PM > To: Telting > Cc: freebsd-questions@freebsd.org > Subject

RE: Getting DHCP to use resolv.conf?

2006-04-27 Thread fbsd
I read the man dhclient.conf(5) and paid special attention to the part about prepend domain-name-servers. It does not say anything about passing the dns info dhcp client puts into resolv.conf onto the dhcpd.conf "option domain-name-servers" statement. I don't think you understo

Re: Getting DHCP to use resolv.conf?

2006-04-27 Thread michael johnson
On 4/26/06, Bill Moran <[EMAIL PROTECTED]> wrote: > > On Wed, 26 Apr 2006 13:56:57 -0700 > Telting <[EMAIL PROTECTED]> wrote: > > > I would like to know how I can propagate the dns servers which the dhcp > > client puts in resolv.conf to dhcpd. I only see

RE: Getting DHCP to use resolv.conf?

2006-04-27 Thread fbsd
Does anyone have a script that does this, that they can share? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bill Moran Sent: Wednesday, April 26, 2006 5:06 PM To: Telting Cc: freebsd-questions@freebsd.org Subject: Re: Getting DHCP to use resolv.conf

Re: Getting DHCP to use resolv.conf?

2006-04-26 Thread Bill Moran
On Wed, 26 Apr 2006 13:56:57 -0700 Telting <[EMAIL PROTECTED]> wrote: > I would like to know how I can propagate the dns servers which the dhcp > client puts in resolv.conf to dhcpd. I only see how I can only > explicitly list a domain server with "option domain-name-s

Getting DHCP to use resolv.conf?

2006-04-26 Thread Telting
I would like to know how I can propagate the dns servers which the dhcp client puts in resolv.conf to dhcpd. I only see how I can only explicitly list a domain server with "option domain-name-servers". How do I propogate non static dns serve

Getting DHCP to use resolv.conf?

2006-04-26 Thread Telting
I would like to know how I can propagate the dns servers which the dhcp client puts in resolv.conf to dhcpd. I only see how I can only explicitly list a domain server with "option domain-name-servers". How do I propogate non static dns server

Re: /etc/resolv.conf with 3 nameservers

2006-04-10 Thread Charles Swiger
On Apr 10, 2006, at 9:54 AM, [EMAIL PROTECTED] wrote: $ cat /etc/resolv.conf domain Sisis.de nameserver 10.0.1.201 nameserver xxx.xxx.xxx.xxx nameserver yyy.yyy.yyy.yyy But only the 1st one (10.0.1.201) is contacted to make the name lookup (I've checked this with trussing a

Re: /etc/resolv.conf with 3 nameservers

2006-04-10 Thread Alex Zbyslaw
[EMAIL PROTECTED] wrote: El día Monday, April 10, 2006 a las 04:07:34PM +0100, Alex Zbyslaw escribió: There's nothing to stop you configuring that local nameserver to use your two "backups" for names that it cannot resolve. You could then leave the two backups in /etc/res

Re: /etc/resolv.conf with 3 nameservers

2006-04-10 Thread guru
here's nothing to stop you configuring that local nameserver to use > your two "backups" for names that it cannot resolve. > > You could then leave the two backups in /etc/resolv.conf but if your > local nameserver is authoritative for your local domain, then you > pr

Re: /etc/resolv.conf with 3 nameservers

2006-04-10 Thread Alex Zbyslaw
ly enough, stupid as I am. :-( There's nothing to stop you configuring that local nameserver to use your two "backups" for names that it cannot resolve. You could then leave the two backups in /etc/resolv.conf but if your local nameserver is authoritative for your local domain, then you pr

Re: /etc/resolv.conf with 3 nameservers

2006-04-10 Thread guru
El día Monday, April 10, 2006 a las 10:44:52AM -0400, Ken Stevenson escribió: > I think the problem is that once your first server responds with a > "domain not found", that's considered an answer to your query. It > doesn't try another DNS server just to see if it gets a different > answer. If

Re: /etc/resolv.conf with 3 nameservers

2006-04-10 Thread Ken Stevenson
[EMAIL PROTECTED] wrote: Hi, The man page of resolv.conf claims: The different configuration options are: nameserver Internet address (in dot notation) of a name server that the resolver should query. Up to MAXNS (currently 3) name servers may be

/etc/resolv.conf with 3 nameservers

2006-04-10 Thread guru
Hi, The man page of resolv.conf claims: The different configuration options are: nameserver Internet address (in dot notation) of a name server that the resolver should query. Up to MAXNS (currently 3) name servers may be listed, one per keyword

man dhclient [was Re: resolv.conf getting rewritten at system startup]

2006-03-16 Thread Duane Whitty
Erik Trulsson wrote: On Thu, Mar 16, 2006 at 05:29:45PM -0400, Duane Whitty wrote: Hi all, I am running FBSD 6.0-RELEASE I use DHCP to configure my network interface Thanks in advance, Duane P.S. Is there a man page for the dhcp client FBSD 6 is using (what is FBSD 6 using)?

Re: resolv.conf getting rewritten at system startup

2006-03-16 Thread Erik Trulsson
On Thu, Mar 16, 2006 at 05:29:45PM -0400, Duane Whitty wrote: > Hi all, > > I am running FBSD 6.0-RELEASE > > I use DHCP to configure my network interface. > At startup my resolv.conf is overwritten, setting my > nameserver to the address of the router running DHCP. >

Re: resolv.conf getting rewritten at system startup

2006-03-16 Thread Duane Whitty
Beech Rintoul wrote: On Thursday 16 March 2006 12:29, Duane Whitty wrote: Hi all, I am running FBSD 6.0-RELEASE I use DHCP to configure my network interface. At startup my resolv.conf is overwritten, setting my nameserver to the address of the router running DHCP. I tried commenting out

Re: resolv.conf getting rewritten at system startup

2006-03-16 Thread Erik Nørgaard
Duane Whitty wrote: I use DHCP to configure my network interface. At startup my resolv.conf is overwritten, setting my nameserver to the address of the router running DHCP. dhclient, also the new one updates /etc/resolv.conf with the information received from the dhcp server. You can change

Re: resolv.conf getting rewritten at system startup

2006-03-16 Thread Beech Rintoul
On Thursday 16 March 2006 12:29, Duane Whitty wrote: > Hi all, > > I am running FBSD 6.0-RELEASE > > I use DHCP to configure my network interface. > At startup my resolv.conf is overwritten, setting my > nameserver to the address of the router running DHCP. > > I trie

resolv.conf getting rewritten at system startup

2006-03-16 Thread Duane Whitty
Hi all, I am running FBSD 6.0-RELEASE I use DHCP to configure my network interface. At startup my resolv.conf is overwritten, setting my nameserver to the address of the router running DHCP. I tried commenting out almost all of the rc.d/resolv startup script but to no avail. I read the man

RE: resolv.conf

2005-08-16 Thread Ted Mittelstaedt
just set the resolv.conf read-only, that should take care of it. Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Ronny Machado >C. >Sent: Tuesday, August 16, 2005 7:07 AM >To: freebsd-questions@freebsd.org >Subject: RE: res

Re: resolv.conf

2005-08-16 Thread Micheal Patterson
. - Original Message - From: "Ronny Machado C." <[EMAIL PROTECTED]> To: Sent: Tuesday, August 16, 2005 8:54 AM Subject: resolv.conf Hi list, I'm new to FreeBSD, and this is the first time I configure a FreeBSD box. Ok, let's get to the point: my prob

Re: resolv.conf

2005-08-16 Thread Jon Mercer
m new to FreeBSD, and this is the first time I configure a FreeBSD box. > Ok, let's get to the point: my problem is with DNS resolution, form some > reason the resolv.conf changes after some time (10 to 20 minutes), from > my DNS IP to the rl0 IP. Does any one know why? My machine is an

RE: resolv.conf

2005-08-16 Thread Ronny Machado C.
yep bro...that's it... -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Lowell Gilbert Enviado el: Martes, 16 de Agosto de 2005 10:02 Para: Ronny Machado C. CC: freebsd-questions@freebsd.org Asunto: Re: resolv.conf "Ronny Machado C." &l

Re: resolv.conf

2005-08-16 Thread Lowell Gilbert
"Ronny Machado C." <[EMAIL PROTECTED]> writes: > Hi list, > > I'm new to FreeBSD, and this is the first time I configure a FreeBSD box. Ok, > let's get to the point: my problem is with DNS resolution, form some reason > the resolv.conf changes after s

resolv.conf

2005-08-16 Thread Ronny Machado C.
Hi list, I'm new to FreeBSD, and this is the first time I configure a FreeBSD box. Ok, let's get to the point: my problem is with DNS resolution, form some reason the resolv.conf changes after some time (10 to 20 minutes), from my DNS IP to the rl0 IP. Does any one know why? My mac

Re: /etc/resolv.conf and your ISP

2005-05-08 Thread Robert Huff
Glenn Dawson writes: > >My question is: how to reliably keep your own nameserver in > >/etc/resolv.conf, and get around the frequent protocol updates that > >change/nullify your mods to /etc/resolv.conf. > > According to dhclient.conf(5

Re: /etc/resolv.conf and your ISP

2005-05-08 Thread Glenn Dawson
At 12:49 PM 5/8/2005, Forrest Aldrich wrote: I can think of a few ways to resolve this, but I thought to ask here. I have Comcast for my ISP, and of course DHCP changes /etc/resolv.conf during each update -- lately, they've been screwing things up bigtime, such that I simply use my own &

Re: /etc/resolv.conf and your ISP

2005-05-08 Thread Forrest Aldrich
Also of note... if you change the bits on the file to nochg, so it can't be updated, Comcast will detect this and disable your connection (it happened to me). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freeb

/etc/resolv.conf and your ISP

2005-05-08 Thread Forrest Aldrich
I can think of a few ways to resolve this, but I thought to ask here. I have Comcast for my ISP, and of course DHCP changes /etc/resolv.conf during each update -- lately, they've been screwing things up bigtime, such that I simply use my own "named" instance. My question is:

RE: Prevent DHCP from changing resolv.conf

2005-04-22 Thread Timothy Radigan
Or, if you don't feel like editing your dhclient.conf, in your /etc/resolv.conf the first line usually reads: search thisdomain.com nameserver xxx.xxx.xxx.xxx nameserver xxx.xxx.xxx.yyy If you change the first line to read: domain thisdomain.com nameserver xxx.xxx.xxx.xxx names

Re: Prevent DHCP from changing resolv.conf

2005-04-22 Thread Luke Dean
I have a minor problem regarding my network configuration, specifically that the external interface on my router gets it's IP via DHCP from the ISP, so in rc.conf ifconfig_xl0="DHCP" is set. This leads to the single entry in resolv.conf that I want to be there, namely nameserver

Re: Prevent DHCP from changing resolv.conf

2005-04-22 Thread Fabian Anklam
the external interface on my router gets it's IP via > > DHCP from the ISP, so in rc.conf > > > > ifconfig_xl0="DHCP" > > > > is set. This leads to the single entry in resolv.conf that I want to > > be there, namely > > > > nameserver 1

Re: Prevent DHCP from changing resolv.conf

2005-04-22 Thread Joerg Pulz
set. This leads to the single entry in resolv.conf that I want to be there, namely nameserver 127.0.0.1 being replaced with my ISP's nameservers, which in return makes resolving of LAN IPs or even localhost via the installed BIND difficult for the machine. I don't want dhclient to change t

Prevent DHCP from changing resolv.conf

2005-04-22 Thread Fabian Anklam
Hi All, I have a minor problem regarding my network configuration, specifically that the external interface on my router gets it's IP via DHCP from the ISP, so in rc.conf ifconfig_xl0="DHCP" is set. This leads to the single entry in resolv.conf that I want to be there, nam

Re: what should i have in resolv.conf & hosts

2004-11-20 Thread Tim
lov.conf and hosts file entrys correct? >> >> resolv.conf just has: >> >> nameserver 192.168.1.254 >> >> hosts has: >> >> ::1 localhost localhost.my.domain >> 127.0.0.1 localhost localhost.my.domain >> 192.168.1.3 VaioBSD VaioBSD.eircom.net &

Re: what should i have in resolv.conf & hosts

2004-11-20 Thread Ash
Danny Browne wrote: Browsers in fluxbox (and gnome when i treid that switching to that) take forever to fetch webpages (2 mins on a DSL line). but the speed is normal when using ping or ftp or whatever from terminal/console. are my reslov.conf and hosts file entrys correct? resolv.conf just has

what should i have in resolv.conf & hosts

2004-11-20 Thread Danny Browne
Browsers in fluxbox (and gnome when i treid that switching to that) take forever to fetch webpages (2 mins on a DSL line). but the speed is normal when using ping or ftp or whatever from terminal/console. are my reslov.conf and hosts file entrys correct? resolv.conf just has: nameserver

  1   2   >