Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When configuring rudder-agent, the doc says to fill policy_server.dat with the rudder-server hostname:

echo 'rudder-server' > /var/rudder/cfengine-community/policy_server.dat

Should i use preferably the fully qualified domain name (fqdn), or the short hostname of the rudder server ?

share|improve this question

Rudder agents will use the address you enter here to communicate with the server.

So you have to enter one that the agent can resolve.

The fqdn should work in any case.

share|improve this answer
If your DNS configuration is not fully working (can not reverse name), you might need to add the FQDN in yout /etc/hosts file, or even use IP addresses – Nicolas Charles Jan 3 '13 at 14:59

Rudder is flexible as to the hostname (or IP) you provide - it will simply run it through your machine's standard name resolution. Therefore, you can use whichever form is most convenient for you.

However, if you want to err on the side of safety, and you can trust your DNS system, prefer to use the FQDN. This will make sure Rudder can still contact it's server in case your local DNS configuration becomes broken (by, for example, a change in the default domain in /etc/resolv.conf).

If you can't trust your DNS system, prefer to use a hardcoded IP address here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.