Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13476 closed defect (worksforme)

[IPv6] Custom DNS servers ignored

Reported by: ipv6plsfix@… Owned by: cyrus
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: ipv6 dns custom wbmr buffalo italia r36569 Cc: cyrus@…

Description

Buffalo WBMR-HP-G300H
Openwrt trunk r36569
ISP: Telecom Italia

I added the google ipv6 dns under Network -> Interfaces -> WAN -> Edit -> Advanced Settings -> Unchecked dns by peer and use custom dns.

My ipv6 works fine but it doesn't use my custom dns instead use the isp dns.

Did I do something wrong?

Attachments (0)

Change History (10)

comment:1 Changed 5 years ago by cyrus

Please post your settings from /etc/config/network especially the wan and wan6 interface configuration. Also please tell us which of your ISP DNS-servers is used in error, the IPv4 or the IPv6 one.

Last edited 5 years ago by cyrus (previous) (diff)

comment:2 Changed 5 years ago by cyrus

  • Owner changed from developers to cyrus
  • Status changed from new to assigned

comment:3 Changed 5 years ago by cyrus

  • Cc cyrus@… added

comment:4 Changed 5 years ago by ipv6plsfix@…

Good morning cyrus!

config interface 'wan'

option ifname 'nas0'
option proto 'pppoe'
option peerdns '0'
option username 'adsl@…'
option password 'IPV6@alice6'
option ipv6 '1'
option dns '2001:4860:4860::8888 2001:4860:4860::8844'

config interface 'wan6'

option ifname '@wan'
option proto 'dhcpv6'


From nslookup and LUCI I confirmed that I use these DNS:

DNS 1: 2001:4b18:3050:916f::53:c002
DNS 2: 2001:4b18:3050:916f::53:c001


comment:5 Changed 5 years ago by anonymous

Could you please try to put the "option peerdns 0" inside the wan6 interface-section as well? If you put it in the wan-interface it will most likely only effect IPv4 DNS servers.

comment:6 Changed 5 years ago by ipv6plsfix@…

Now I can't see what DNS server I'm using from luci (both IPv4 and IPv6)

from nslookup it says:

Server predefinito: UnKnown
Address: fdc7:8ee8:2b3e::1 (who is it?)

comment:7 Changed 5 years ago by cyrus

Ah I see can you please move the option dns line to the wan6 interface as well. Forgot to mention that, sorry.

comment:8 Changed 5 years ago by ipv6plsfix@…

Ok, I did it.

Now it uses google ipv6 dns servers :)

IPv4
DNS 1: 8.8.8.8
DNS 2: 8.8.4.4
Connected: 0h 4m 9s

IPv6
DNS 1: 2001:4860:4860::8888
DNS 2: 2001:4860:4860::8844
Connected: 0h 3m 52s

It seems fine.

from nslookup:

Server predefinito: UnKnown
Address: 2a01:2003:1:2c66::1 (router's ipv6)


How could I check if it really use Google IPv6 DNS?

comment:9 Changed 5 years ago by cyrus

  • Resolution set to worksforme
  • Status changed from assigned to closed

Hmm you could check the file /tmp/resolv.conf.auto on your router and if you are really paranoid you could install tcpdump and check your outgoing traffic.

comment:10 Changed 5 years ago by ipv6plsfix@…

Thank you curys.

Should I file a report to LUCI devs to add an option for add custom ipv6 dns in the wan6 interface section?

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.