public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony E. Caudel" <acaudel@gt.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to set domainname
Date: Thu, 17 Aug 2006 01:22:53 -0500	[thread overview]
Message-ID: <44E40B3D.8080109@gt.rr.com> (raw)
In-Reply-To: <44E3F97E.2070908@mid.email-server.info>

Alexander Skwar wrote:
> Anthony E. Caudel schrieb:
>> As of baselayout-1.12.4, the domainname init script is no longer used
>> and the Gentoo Handbook no longer tells how to set the domainname.
>> domainname now returns "(none)"
>>
>> /etc/conf.d/net.example talks about setting up dns_domain but if this is
>> used, it overwrites /etc/resolv.conf.
>>
>> So how is the domainname now set?
> 
> See net.example.
> 
> # Setting name/domain server causes /etc/resolv.conf to be overwritten
> # Note that if DHCP is used, and you want this to take precedence then
> # set dhcp_ESSID="nodns"
> #dns_servers_ESSID=( "192.168.0.1" "192.168.0.2" )
> #dns_domain_ESSID="some.domain"
> [...]
> #nis_domain_eth0="domain"
> 
> 
> The domainname is set with dns_domain or nis_domain.
> 
> Alexander Skwar

But setting my domainname this way overwrites my /etc/resolv.conf and I
lose my nameserver data.
(This is noted in /etc/conf.d/net.example)

Tony
-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2006-08-17  6:26 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16 19:51 [gentoo-user] How to set domainname Anthony E. Caudel
2006-08-16 20:04 ` Mike
2006-08-16 21:41   ` Anthony E. Caudel
2006-08-16 23:18     ` Ryan Tandy
2006-08-16 23:48     ` Phil Sexton
2006-08-17  0:39       ` Anthony E. Caudel
2006-08-17  1:20         ` Phil Sexton
2006-08-17  5:10           ` Alexander Skwar
2006-08-17  5:31             ` Phil Sexton
2006-08-17  5:37             ` Phil Sexton
2006-08-17  6:01               ` Alexander Skwar
2006-08-17  6:28                 ` Phil Sexton
2006-08-17  8:26                   ` Alexander Skwar
2006-08-17 12:43                     ` Phil Sexton
2006-08-17 13:00                       ` Phil Sexton
2006-08-17 13:14                         ` Neil Bothwick
2006-08-17 13:48                           ` Phil Sexton
2006-08-17 13:14                         ` Alexander Skwar
     [not found]                           ` <44E47321.2060106@infoave.net>
2006-08-17 14:19                             ` Alexander Skwar
2006-08-17 14:31                               ` Phil Sexton
2006-08-17 14:47                                 ` Alexander Skwar
2006-08-17 14:58                                   ` Phil Sexton
     [not found]                                     ` <44E4C0DC.6070103@mid.email-server.info>
2006-08-18 16:45                                       ` Jarry
2006-08-18 17:13                                         ` [gentoo-user] " Andrey
2006-08-18 18:36                                         ` Alexander Skwar
2006-08-17 15:01                                   ` [gentoo-user] " Graham Murray
2006-08-17 15:21                                     ` Neil Bothwick
2006-08-17 22:52                                     ` Ryan Tandy
2006-08-18 10:55                                       ` Graham Murray
2006-08-19  3:59                                         ` Ryan Tandy
2006-08-19  5:26                                           ` [gentoo-user] " Alexander Skwar
2006-08-19 22:46                                             ` Ryan Tandy
2006-08-19 23:00                                               ` [gentoo-user] " Alexander Skwar
2006-08-20  1:09                                                 ` [gentoo-user] " Ryan Tandy
2006-08-17 15:01                                   ` [gentoo-user] " Phil Sexton
2006-08-17 19:19                                     ` Alexander Skwar
2006-08-17 13:13                       ` Alexander Skwar
2006-08-17 13:37                         ` Phil Sexton
2006-08-17  5:09         ` Alexander Skwar
2006-08-17  1:57       ` Mike
2006-08-17  5:07 ` Alexander Skwar
2006-08-17  6:03   ` Alexander Skwar
2006-08-17 13:06     ` Graham Murray
2006-08-17  6:22   ` Anthony E. Caudel [this message]
     [not found] ` <169ffc030608161354g5e8e9e28h3673983a72e4e5ae@mail.gmail.com>
2006-08-17  5:11   ` Alexander Skwar
2006-08-17  6:02     ` Alexander Skwar
2006-08-17  6:05     ` Phil Sexton
2006-08-17  8:27       ` Alexander Skwar
2006-08-17  7:31 ` Hans-Gunther Borrmann
2006-08-17  8:32   ` Alexander Skwar
2006-08-17  9:02     ` Hans-Gunther Borrmann
2006-08-17  9:19       ` Alexander Skwar
2006-08-17 12:48       ` Enrico Weigelt
2006-08-17  9:02 ` Roman Zilka
2006-08-17  9:17   ` Roman Zilka
2006-08-17 10:19   ` Hans-Gunther Borrmann
2006-08-17 10:50     ` Roman Zilka
2006-08-17 12:45       ` Enrico Weigelt
2006-08-18 17:01 ` [gentoo-user] How to set domainname (SOLVED) Anthony E. Caudel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44E40B3D.8080109@gt.rr.com \
    --to=acaudel@gt.rr.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox