Skip to content

udhcpc/default.script appends interface comment causing dns lookup to fail #783

@UmbraAtrox

Description

@UmbraAtrox

By default dhcp dns servers get written by /usr/share/udhcpc/default.script to /etc/resolv.conf.dhcp which seems to get ignored, removing /boot/resolv.conf makes dhcp dns to be appended to /etc/resolv.conf as "nameserver 10.0.1.1 # eth0" which then causes:


# nslookup cdn.sipeed.com
nslookup: bad address '10.0.1.1 # eth0'

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