You are not logged in.

#1 2006-11-20 11:39:09

kaekko
Member
Registered: 2006-11-20
Posts: 5

Server's DNS name

I have configured apache and bind, but when I start apache, it gives me the following output:
httpd: Could not reliably determine the server's fully qualified domain name, using ns.asdf.tk for ServerName

ns.asdf.tk is the HOSTNAME.
It gives me the following output, because i commented the ServerName line in apache.

If I try to install qmail, it says:
Your hostname is ns.asdf.tk.
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself..

What should I change in bind's configuration to tell qmail what my canonicla name is?

Offline

#2 2006-12-07 16:46:30

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Server's DNS name

Doesn't a line in /etc/hosts fix this?

/etc/hosts

...
127.0.0.1 ns.asdf.tk ns
...

A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2006-12-07 21:17:59

kaekko
Member
Registered: 2006-11-20
Posts: 5

Re: Server's DNS name

FUBAR wrote:

Doesn't a line in /etc/hosts fix this?

/etc/hosts

...
127.0.0.1 ns.asdf.tk ns
...

It works now. The Reverse DNS was not configured correctly.

Offline

Board footer

Powered by FluxBB