Skip to content

Can't set dns-nameservers in case of dhcp mode #6

@wizdear

Description

@wizdear

Thank you for your awesome scripts.
But, your script doesn't work as I thought.

Both static and dhcp can have dns-nameservers.
But below example command didn't working.
awk -f changeInterface.awk /etc/network/interfaces dev=eth0 mode=dhcp dns=210.220.163.82

I think that in case of dhcp, your script didn't set dns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions