Skip to content

Prevent internal DNS routing issues when domain used as hostname#817

Open
bderenzo wants to merge 1 commit intobigbluebutton:v3.0.x-releasefrom
bderenzo:fix-hosts-domain-dns-leak
Open

Prevent internal DNS routing issues when domain used as hostname#817
bderenzo wants to merge 1 commit intobigbluebutton:v3.0.x-releasefrom
bderenzo:fix-hosts-domain-dns-leak

Conversation

@bderenzo
Copy link

This PR adds a validation step to ensure the server's $HOST is not mapped to a loopback address (e.g., 127.0.1.1 or 127.0.0.1) in /etc/hosts.

Problem solved :
Many cloud providers automatically add an entry to /etc/hosts mapping the hostname to 127.0.1.1.
When using a domain as hostname and installing BigBlueButton with Greenlight, this loopback mapping causes internal networking conflicts within Docker containers DNS resolution (due to systemd-resolved default configuration). The Greenlight containers attempt to resolve the BBB API locally instead of via the public IP, leading to 400 Bad Request errors when starting rooms.

Full details of the issue can be found here:
bigbluebutton/greenlight#6174

Many users have likely encountered this issue, often without realizing the cause, for instance:

@bderenzo bderenzo force-pushed the fix-hosts-domain-dns-leak branch from d1cff91 to fbbc0e7 Compare January 20, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant