Modify

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:

Description

Hi,

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/resolv.conf.auto.
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 '208.67.222.222'
	list dns '208.67.220.220'

And /tmp/resolv.conf.auto contents

# Interface wan
nameserver 192.168.1.1
search office.local
# Interface wwan
nameserver 208.67.222.222
nameserver 208.67.220.220
# 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.

TIA

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
0.0.0.0         x.x.x.10        0.0.0.0         UG    0      0        0 wwan0
...
x.x.x.8         0.0.0.0         255.255.255.252 U     0      0        0 wwan0
...

TIA

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

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.