How to configure rudder-agent?

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.