[ale] KUbuntu Hardy doesn't seem to know my dns host.
Jim Lynch
ale_nospam at fayettedigital.com
Fri Jul 4 04:24:47 EDT 2008
Jeff Lightner wrote:
> You shouldn't need it for static addresses. Just make sure you haven't
> inadvertently set one of your unused NICs as active with DHCP as it
> would likely overwrite and may explain why it is blank.
>
> By the way the file is /etc/dhclient_conf on Debian though the man page
> says /etc/dhclient.conf.
>
> -----Original Message-----
> From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Jim
> Lynch
> Sent: Thursday, July 03, 2008 1:22 PM
> To: ale at ale.org
> Subject: Re: [ale] KUbuntu Hardy doesn't seem to know my dns host.
>
> Jeff Lightner wrote:
>
>> If you're getting IP via DHCP then it is probably overwriting
>> resolv.conf when it gets the DHCP information.
>>
>> You can disable that by modifying /etc/dhclient.conf on many distros.
>> Since Ubuntu is Debian based I'd think it was one of them.
>>
>> In there add a line like:
>> supersede domain-name "yourdomain.com";
>> to specify domain name to search
>>
>> You can also likely do:
>> supersede domain-name-servers "127.0.0.1 yourdnsserver1 your
>> dnsserver2";
>>
>> Have done the former but not the latter so syntax may bee a little
>> different (maybe no quotes?).
>>
>> -----Original Message-----
>> From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
>>
> Jim
>
>> Lynch
>> Sent: Thursday, July 03, 2008 11:47 AM
>> To: Atlanta Linux Enthusiasts
>> Subject: [ale] KUbuntu Hardy doesn't seem to know my dns host.
>>
>> How do I configure whatever to make it save my dns host between
>> reboots. The /etc/resolv.conf file say "Don't modify this file 'cause
>>
>
>
>> it's being automatically generated" but it's generated with comments
>> only.
>>
>> In menu Settings/Network DNS tab I have the ip address of the
>> nameserver, but apparently that's not enough.
>>
>> Thanks,
>> Jim.
>>
>>
>
> Thanks, I'll look into that solution, if it works for static addresses.
>
> I'm using static addresses and have my own bind server.
>
> Jim.
>
Oops. I forgot. This system has 2 nics. One of them uses dhcp. How
embarassing, thanks for pointing it out.
Why 2 nics you ask? Well back when I put this thing together Linux
wouldn't support the onboard nic, and windows for some strange reason
didn't like the ethernet board I put in the system. Since it's a dual
boot system I had to have both. Linux now supports both.
Thanks,
Jim.
More information about the Ale
mailing list