hostname vs domainname

Remco Lubbers rpl at concepts.nl
Sat Mar 27 12:28:02 GMT 2004


Op Fri, 26 Mar 2004 19:54:47 +0100 schreef Couannette aan Lunar general
discussion list <lunar at lunar-linux.org>:

>what's your /etc/host.conf and /etc/hosts ?

At the moment, to start everything without errors at boottime, things are like
this:

[/etc/host.conf]
order hosts,bind
multi on
[//etc/host.conf]

[/etc/hosts]
127.0.0.1	localhost
192.168.1.2	server2.domain.nl    server2
[//etc/hosts]

[/etc/hostname]
server2.domain.nl
[//etc/hostname]

[/etc/domainname]
domain.nl
[//etc/domainname]

Op Fri, 26 Mar 2004 20:44:04 +0100 schreef Auke Kok aan Lunar general
discussion list <lunar at lunar-linux.org>:
> you might be able to force these in /etc/postfix/main.cf though, but 
> they are sane settings for a lot of programs.

Of course things can be set in /etc/postfix/main.cf, but I'd like to keep
settings like these centralized. And postfix just complains if I change
/etc/hostname to "server2".

Cheers,

Remco

-- 
Remco P. Lubbers (rpl at concepts.nl)
| Linux kernel 2.4.25 | Lunar 1.4.0 | XFce 4.0.4 | Pronto! 2.4.0 |



More information about the Lunar mailing list