Getting DHCP to use resolv.conf? AN ANSWER
Murray Taylor
MTaylor at bytecraft.com.au
Thu May 4 03:35:18 UTC 2006
> -----Original Message-----
> From: fbsd [mailto:fbsd at a1poweruser.com]
> 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.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 are always called by dhclient, what I put in them
> is what I attached.
>
> And I am also using Postfix ... As far as I remenber pcre is
> only needed by Postfix if you use pcre:<check-file> regular
> expression type files in main.cf. If you use
> regexp:<check-file> then pcre is not used.
>
>
> Murray Taylor
>
>
> ---------------------------------------------------------------
> ---------------------------------------------------------------
>
> I checked postfix main.default.cf and find no "pcre" or "regexp"
> options.
> Please explain what you are talking about.
>
> Thanks for your help
>
/usr/local/etc/postfix/dist-header_checks
these are optional elements you can add to main.cf.
if you havent decided to use them then they wont be in main.cf
try grep pcre: * in the /usr/local/etc/postfix directory
this will find where you may have used them.
generally only used on various lookup tables etc..
Murray Taylor
Special Projects Engineer
Bytecraft Systems
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
E: mtaylor at bytecraft.com.au
--
"Any intelligent fool can make things bigger and more complex... It
takes a
touch of genius - and a lot of courage to move in the opposite
direction."
Albert Einstein
--
---------------------------------------------------------------
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material.
E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---------------------------------------------------------------
***This Email has been scanned for Viruses by MailMarshal.***
More information about the freebsd-questions
mailing list