c127
![]() |
|
|
|
|
|||||||
| Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have this machine, with static IP configuration and a nameserver, and my resolv.conf keeps being overwritten by openresolv.conf in FreeBSD 9.0 release.
You'll probably say that I need to configure /etc/resolvconf.conf properly, but I can't get it to generate the resolv.conf that I need. What I want in /etc/resolv.conf is: Code:
domain example.com search example.com nameserver 127.0.0.1 Code:
# Generated by resolvconf search example.com nameserver 127.0.0.1 nameserver 10.0.0.1 Code:
name_servers=127.0.0.1 search_domains=example.com Code:
# Network configuration hostname="nicehost.example.com" ifconfig_re0="inet 10.0.0.2/24" ifconfig_re0_ipv6="inet6 2000:db:1234::1/64" ifconfig_nfe0="inet 10.0.0.3/32" ifconfig_nfe0_ipv6="inet6 2000:db:1234::2/128" # Network routing options defaultrouter="10.0.0.1" ipv6_gateway_enable="YES" rtadvd_enable="YES" rtadvd_interfaces="re0" # SixXS tunnel sixxs_aiccu_enable="YES" How can I do this? 1) How can I make openresolvconf go away? 2) If not, how can I configure it so that it never tries DHCP? Thanks, Last edited by DutchDaemon; April 15th, 2012 at 02:10. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#2
|
||||
|
||||
# pkg_delete -x openresolvYou don't need it.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#3
|
|||
|
|||
|
Oh, I wish it was that simple, SirDice. I know well I don't need it, but I didn't install it either.
In FreeBSD 9.0 it was integrated in the base system. I'm pretty sure that if they included it in the base system, then there must be some knob somewhere that allows avoiding it. But I can't find it. Following your answer I went to check /etc/src.conf for some WITHOUT_OPENRESOLV knob, but there isn't one. I'm still in the dark. Thanks, Last edited by DutchDaemon; April 16th, 2012 at 00:37. |
|
#4
|
||||
|
||||
|
The knob appears not to have been implemented yet, but you might want to hack one yourself for now by looking at the /usr/src/tools/build/options/ directory. It looks like creating a file called WITHOUT_OPENRESOLV there and setting the eponymous knob in /ectsrc.conf should be enough.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| software fan control | lyokoboy0 | System Hardware | 2 | February 14th, 2011 15:25 |
| USB MCE Remote Control | ELSE | Peripheral Hardware | 2 | January 24th, 2011 08:13 |
| [Solved] man Control-T | kenorb | FreeBSD Development | 2 | November 10th, 2010 15:13 |
| brightness control | TCE | Mobile Computing | 10 | May 10th, 2010 03:34 |
| Fan Control | h5n1 | Mobile Computing | 5 | June 12th, 2009 20:16 |