You are not logged in.
Hi,
I've a question regarding this wiki page: https://wiki.archlinux.org/index.php/To … NS_queries.
The wiki pages recommends to set the dnsmasq port to 9053
no-resolv
port=9053
server=127.0.0.1#9053
listen-address=127.0.0.1
But the same port is also used by tor, as recommended above.
Change the tor setting to listen for the DNS request in port 9053 and install dnsmasq
Is this a mistake or did I misunderstood the configuration?
Last edited by d1r7yb17 (2017-10-29 16:07:03)
Offline
I don't think this is the best place to ask this question: the wiki page has its discussion page and on the forums it would belong to the technical section, not the "Forum & Wiki discussion" metasection.
Offline
The mistake in my opinion is, that the dnsmasq port shouldn't be changed, so it defaults to 53.
Here's my observation with dnsmasq running on 9053:
$ sudo netstat -tulpn | grep dnsmasq
tcp 0 0 0.0.0.0:9053 0.0.0.0:* LISTEN 2905/dnsmasq
tcp6 0 0 :::9053 :::* LISTEN 2905/dnsmasq
udp 0 0 0.0.0.0:9053 0.0.0.0:* 2905/dnsmasq
udp6 0 0 :::9053 :::* 2905/dnsmasq
$ drill bbs.archlinux.org @127.0.0.1
Error: error sending query: Could not send or receive, because of network error
In contrast to that, if i leave the default to 53.
$ sudo netstat -tulpn | grep dnsmasq
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 3221/dnsmasq
tcp6 0 0 :::53 :::* LISTEN 3221/dnsmasq
udp 0 0 0.0.0.0:53 0.0.0.0:* 3221/dnsmasq
udp6 0 0 :::53 :::* 3221/dnsmasq
$ drill bbs.archlinux.org @127.0.0.1
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 56504
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; bbs.archlinux.org. IN A
;; ANSWER SECTION:
bbs.archlinux.org. 3600 IN A 5.9.250.164
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 179 msec
;; SERVER: 127.0.0.1
;; WHEN: Sun Oct 29 15:52:39 2017
Offline
I don't think this is the best place to ask this question: the wiki page has its discussion page and on the forums it would belong to the technical section, not the "Forum & Wiki discussion" metasection.
Ok I didn't know that. Therefore I'm closing this post.
Offline
I don't think this is the best place to ask this question: the wiki page has its discussion page and on the forums it would belong to the technical section, not the "Forum & Wiki discussion" metasection.
Agreed.
Mod note: Moving to Networking.
lahwaacz wrote:I don't think this is the best place to ask this question: the wiki page has its discussion page and on the forums it would belong to the technical section, not the "Forum & Wiki discussion" metasection.
Ok I didn't know that. Therefore I'm closing this post.
There's no need to close the topic just because it wasn't in the correct place. However, if you really want the topic closing, please use the report function.
Last edited by WorMzy (2017-10-29 15:04:21)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Looks like wrong configuration to me, too.
Someone seems to have changed that in january with some strange reasoning, so maybe undo hat?
https://wiki.archlinux.org/index.php?ti … did=464896
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
There's no need to close the topic just because it wasn't in the correct place. However, if you really want the topic closing, please use the report function.
I'm uncertain if this topic belongs to the wiki page discussion or the network forum.
So I'll leave it open to the mods.
Last edited by d1r7yb17 (2017-10-29 16:09:53)
Offline