Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
When ServerName not specified, "localhost" may be used but shouldn't be #1076
When there is no ServerName directive in cupsd.conf, CUPS may use "localhost.localdomain" in some instances, which is not useful.
One instance where this can happen is when using a DHCP server that does not assign hostnames, only IP addresses.
CUPS.org User: mike
What would you suggest as an alternative? You can already have it use the IP address by specifying "BrowseAddress @Local", or you can put the IP address in the ServerName...
The main issue with using an IP address for local accesses is that the local authentication may not work (since you wouldn't be connecting over the loopback interface...)
CUPS.org User: twaugh.redhat
Maybe there should be some way to arrange for local queues to be advertised using the IP address in browse packets, but localhost when queried locally.
The original bug report is here: