Am Montag, den 19.12.2005, 13:23 -0800 schrieb Jessica Rasku:
> Heinz Sporn wrote:
> > Am Montag, den 19.12.2005, 03:33 -0800 schrieb Jessica Rasku:
> >
> >>I am having some problems with setting up my domain name on my new
> >>gentoo box. I believe I have everything setup according to the
> >>handbook, but for some reason hostname -d does not return a domain name
> >>and just complains that it is not know. I have this working correctly
> >>on my older box, but I seem to recall that this was an issue on that box
> >>as well. I have domainname and hostname in my default and boot
> >>runlevels. This doesn't seem right, but it doesn't seem to be hurting
> >>anything. I have setup /etc/conf.d/domainname. I'm not sure what I'm
> >>missing.
> >
> >
> > If you're not running local DNS /etc/hosts might be the crucial file.
> > What did you put in there?
>
> I haven't got local DNS running. The problem is this machine has a
> dynamic address. This is the information there. I'm not sure if that's
> the problem. I also don't know how to get dynamic DNS values. It's
> something that I want to be able to do. I am currently running BIND on
> two machines, but that won't solve this problem.
If you want hostname -f to get a FQDN for your machine you may want to
try the following:
Say your FQDN is expected to be: myhost.mydoamin.com then you have to
add the following to /etc/hosts:
127.0.0.1 myhost.mydomain.com myhost localhost
>
> 127.0.0.1 localhost
> # IPV6 versions of localhost and co
> ::1 ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
>
>
> Jessica
--
Mit freundlichen Grüßen
Heinz Sporn
SPORN it-freelancing
Mobile: ++43 (0)699 / 127 827 07
Email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail: Steyrer Str. 20
A-4540 Bad Hall
Austria / Europe
--
[email protected] mailing list