Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reverse DNS resolving of hostnames in IPv6 mode results in IPv4 IPs #2

Closed
sunweaver opened this issue Apr 18, 2016 · 2 comments

Comments

@sunweaver
Copy link
Collaborator

@sunweaver sunweaver commented Apr 18, 2016

I have something like the below in uif6.conf:

network {
     gdns google-public-dns-a.google.com.
}

filter {
    out+  p=dns s=gdns
}

When looking at it with ip6tables -L, I get the following:

Chain 8_1 (1 references)
target     prot opt source               destination         
ACCEPT     all      ::1/128              ::/0                
ACCEPT     all     google-public-dns-a.google.com /128   ::/0                

However, when I look at it with ip6tables -L -n, I get this:

Chain 8_1 (1 references)
target     prot opt source               destination         
ACCEPT     all      ::1/128              ::/0                
ACCEPT     all      ::8.8.8.8/128   ::/0                

My expectation would be:

Chain 8_1 (1 references)
target     prot opt source               destination         
ACCEPT     all      ::1/128              ::/0                
ACCEPT     all       2001:4860:4860::8888/128   ::/0
@sunweaver

This comment has been minimized.

@sunweaver

This comment has been minimized.

Copy link
Collaborator Author

@sunweaver sunweaver commented Jan 15, 2017

Closing, as resolved by 91d3907.

@sunweaver sunweaver closed this Jan 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.