Skip to content

Support DNS search domain list (resolve local hostname to FQDN) #158

@clue

Description

@clue

We should support the domain and search options listed in /etc/resolv.conf (and possibly Windows' equivalent). Additionally, we should check the system hostname if it includes a domain part if the domain is not explicitly set.

This is useful in corporate and home networks where a short local alias is often used, i.e. intranet actually resolves to intranet.example.com.

See also https://linux.die.net/man/5/resolv.conf, https://linux.die.net/man/2/gethostname, https://unix.stackexchange.com/questions/128091/no-domain-defined-in-etc-resolv-conf and #98.

I'm not currently working on this, but figured it makes sense to report here in order to track this feature request. In case anybody feels like picking this up, any input and PRs would be much appreciated 👍

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions