How to listen on both local and public IP (with systemd-resolved at 127.0.0.53)? #2425
-
How to listen on both local and public IP? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
If Amend: |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Heuuuu... As I know, [::] correspond to all ip in IPV6 stack, such as 0.0.0.0 for IPV4. It's an abbreviation for 0000:0000:0000:0000:0000:0000:0000:0000. |
Beta Was this translation helpful? Give feedback.
If
[::]
is instantiated to IPv4127.0.0.53
on your OS, what aboutlisten_addresses = ['127.0.0.1:53', '[::]:53']
?Amend:
If
[::]:53
leads to quit. You must specify the public IP then:listen_addresses = ['127.0.0.1:53', 'the-public-IP:53']
.