Skip to content

[Feature Request] Consider adding a script to import local resolver from /etc/resolv.conf #673

Closed
@ikreymer

Description

@ikreymer

Since this image does not support the resolver local=on; that is only available in OpenResty, it may be useful to add an init script that optionally parses the nameserver from /etc/resolv.conf and sets it as the resolver, as suggested in:
https://serverfault.com/questions/638822/nginx-resolver-address-from-etc-resolv-conf

Seems like this may be a common enough use case and could be enabled with a NGINX_USE_LOCAL_RESOLVER

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions