tengine2.3.3 解析 /etc/resolv.conf nameserver fe80::ded8:7cff:fe0d:2816%eth0 失败报错

sczxawaw  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(40)

Ⅰ. Issue Description

nginx: [emerg] invalid IPv6 address in resolver "[fe80::ded8:7cff:fe0d:2816%eth0]" in /opt/application/tengine-2.3.3/conf/nginx.conf:153

/etc/resolv.conf
# Generated by NetworkManager search lan nameserver 192.168.99.1 nameserver 240e:388:bd10:9a00:2276:93ff:fe49:6bff nameserver fe80::ded8:7cff:fe0d:2816%eth0

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

  1. If applicable, add nginx debug log doc .

Ⅵ. Environment:

  • Tengine version (use sbin/nginx -V ):
  • Tengine version: Tengine/2.3.3
    nginx version: nginx/1.18.0
    built by gcc 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
    built with OpenSSL 1.1.0l 10 Sep 2019
    TLS SNI support enabled
    configure arguments: --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-stream --prefix=/opt/application/tengine-2.3.3
  • OS (e.g. from /etc/os-release):
  • PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
    NAME="Debian GNU/Linux"
    VERSION_ID="9"
    VERSION="9 (stretch)"
    VERSION_CODENAME=stretch
    ID=debian
    HOME_URL=" https://www.debian.org/ "
    SUPPORT_URL=" https://www.debian.org/support "
    BUG_REPORT_URL=" https://bugs.debian.org/ "
  • Kernel (e.g. uname -a ):
  • Linux aml_n1 5.0.2-aml-s905 add error_page off #5.77 SMP PREEMPT Mon Apr 1 17:41:33 MSK 2019 aarch64 GNU/Linux
  • Others:
pprl5pva

pprl5pva1#

Ⅰ. Issue Description

nginx: [emerg] invalid IPv6 address in resolver "[fe80::ded8:7cff:fe0d:2816%eth0]" in /opt/application/tengine-2.3.3/conf/nginx.conf:153

/etc/resolv.conf # Generated by NetworkManager search lan nameserver 192.168.99.1 nameserver 240e:388:bd10:9a00:2276:93ff:fe49:6bff nameserver fe80::ded8:7cff:fe0d:2816%eth0

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

  1. If applicable, add nginx debug log doc .

Ⅵ. Environment:

  • Tengine version (use sbin/nginx -V ):
  • Tengine version: Tengine/2.3.3
    nginx version: nginx/1.18.0
    built by gcc 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
    built with OpenSSL 1.1.0l 10 Sep 2019
    TLS SNI support enabled
    configure arguments: --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-stream --prefix=/opt/application/tengine-2.3.3
  • OS (e.g. from /etc/os-release):
  • PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
    NAME="Debian GNU/Linux"
    VERSION_ID="9"
    VERSION="9 (stretch)"
    VERSION_CODENAME=stretch
    ID=debian
    HOME_URL=" https://www.debian.org/ "
    SUPPORT_URL=" https://www.debian.org/support "
    BUG_REPORT_URL=" https://bugs.debian.org/ "
  • Kernel (e.g. uname -a ):
  • Linux aml_n1 5.0.2-aml-s905 add error_page off #5 .77 SMP PREEMPT Mon Apr 1 17:41:33 MSK 2019 aarch64 GNU/Linux
  • Others:

you can try it NginxProxyManager/nginx-proxy-manager#1015 .

相关问题