Opened 3 years ago

Last modified 3 years ago

#17799 new defect

uqmi: peerdns option has no effect

Reported by: raver@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: uqmi peerdns Cc:



I noticed that setting 'option peerdns 0' with qmi protocol (uqmi package) has no effect. The DNS servers provided by the ISP are always added to /tmp/
However, the same option works fine with the DHCP protocol, which is partially used by uqmi.
Here's my setup,

config interface 'wwan'
	option proto 'qmi'
	option device '/dev/cdc-wdm0'
	option ifname 'wwan0'
	option apn 'myapn'
	option peerdns '0'
	option ipv6 '0'
	option metric '20'
	list dns ''
	list dns ''

And /tmp/ contents

# Interface wan
search office.local
# Interface wwan
# Interface wwan_dhcp
nameserver x.x.x.x
nameserver x.x.x.x

I'm available to provide more info and do further testing if needed.


Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by raver@…

Noticed also that the custom metric is also ignored. A bit off topic, but possibly related.

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         x.x.x.10         UG    0      0        0 wwan0
x.x.x.8 U     0      0        0 wwan0


comment:2 Changed 3 years ago by anonymous

Tested r45754 but this issue still persists. The also created wwan_4 interface still ignores peerdns and metric settings.

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.