0

I'm trying to install Foreman in a debian LXC container in Proxmox VE.

When I run foreman-installer, I get the following error.

Forward DNS points to 127.0.1.1 which is not configured on this server
Your system does not meet configuration criteria

So I had a look at my /etc/hosts file

Note that this LXC container is configured by DHCP as this computer is mobile and must adapt to whatever network it ends up on. Most services run fine off DHCP and if possible I rather keep it this way and "hardcode" as little configuration as possible.

So the hosts file looks like this

127.0.0.1       localhost
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
# --- BEGIN PVE ---
127.0.1.1 foreman.example.net foreman
# --- END PVE ---

example.net is my FQDN but foreman.example.net is not an existing record in my DNS server for example.net.

All of my LXC containers so far have been accessed by their private lan dns name. For example router.lan, proxmox.lan, samba.lan, pterodactyl.lan etc.. So I hope to be able to reach foreman via foreman.lan.

So next I tried a quick change to my /etc/hosts file

127.0.0.1 foreman.example.net foreman

And now the error has changed

Reverse DNS failed. Looking up 127.0.0.1 gave localhost, expected to match foreman.domn.net
Your system does not meet configuration criteria

Not sure where to go from here. None of the other docker and web applications have complained in this way about their domain names.

Shodan
  • 101

0 Answers0