!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

902 Members
Declaratively manage your switching, routing, wireless, tunneling and more.263 Servers

Load older messages


SenderMessageTime
24 May 2021
@hoverbear:matrix.orghoverbear joined the room.03:26:08
@zhaofeng:zhaofeng.liZhaofeng Li changed their display name from zhaofeng to Zhaofeng Li.03:47:03
@hoverbear:matrix.orghoverbear changed their profile picture.04:57:56
@oopisthedevil:matrix.orgoopisthedevil joined the room.06:25:28
@patrick:georgi.familyPatrick Georgi joined the room.07:30:47
@jul1u5:matrix.orgjul1u5 removed their profile picture.20:05:16
@noah:matrix.chatsubo.cafeChurch set a profile picture.21:17:17
@panacea:matrix.orgpanacea joined the room.21:50:33
25 May 2021
@rajivr:matrix.orgrajivr joined the room.01:13:44
@aasg:aasg.nameAluísio Augusto Silva Gonçalves joined the room.06:36:39
@n0emis:noemis.men0emisHas someone here tried to package exabgp?13:31:25
@andi:kack.itandi-I haven't tried but last time I used it that was straightforward13:48:28
@esac:matrix.orgp10r joined the room.14:35:12
@packetizeme:matrix.orgbinaryoctopus joined the room.15:41:36
@meetmangukiya:matrix.orgmeet joined the room.16:06:14
@alexey96:matrix.orgalexey96 joined the room.17:28:04
@alexey96:matrix.orgalexey96Hello. I am a new NixOS user and I seek help with Dnsmasq configuration. I have configured local network dns on a nixos machine to filter ads. It works but very slowly, top shows that dnsmasq service is taking 100% cpu. I believe this is because my resolve.conf has my router ip address, which itself has DNS address set to NixOS machine. I have a feeling that they are stuck in some kind of loop. I tried to tinker with configuration.nix to remove router address from resolve.conf, but I cant figure how to do it17:28:41
@andi:kack.itandi- alexey96: Can you post some configuration snippets? What is dnsmasq using as upstream resolver once it is through your filter lists? 17:36:03
@alexey96:matrix.orgalexey96 andi-: 8.8.8.8 (google), 208.67.220.220 (opendns) 17:38:01
@andi:kack.itandi-Might be worth checking if your lookups are indeed looping between your devices. Look into the logging output (turn it to debug/verbose) and/or use tcpdump to see what is happening there.17:39:05
@alexey96:matrix.orgalexey96Redacted or Malformed Event17:39:25
@andi:kack.itandi-Maybe dnsmasq is just overloaded by the amount of filters you have? How many are there? Have you tried removing the fiters to see if that improves anything?17:39:30
@alexey96:matrix.orgalexey96I am using configuration suggested here: https://github.com/NixOS/nixpkgs/issues/61617#issuecomment-62393419317:41:01
@alexey96:matrix.orgalexey96Same block-lists from pi-hole repository17:41:19
@alexey96:matrix.orgalexey96except for listen address, i have added machine's static address to resolve inbound requests17:42:39
@alexey96:matrix.orgalexey96and have opened TCP and UDP ports 5317:43:08
@alexey96:matrix.orgalexey96It is in loop indeed. Have just checked log file: May 25 20:44:22 dnsmasq[27139]: forwarded router.asus.com.home to 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: query[A] router.asus.com.home from 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: forwarded router.asus.com.home to 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: query[A] router.asus.com.home from 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: forwarded router.asus.com.home to 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: query[A] router.asus.com.home from 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: forwarded router.asus.com.home to 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: query[A] router.asus.com.home from 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: forwarded router.asus.com.home to 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: query[A] router.asus.com.home from 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: forwarded router.asus.com.home to 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: query[A] router.asus.com.home from 192.168.1.1 May 25 20:44:22 dnsmasq[27139]: forwarded router.asus.com.home to 192.168.1.1 17:45:22
@alexey96:matrix.orgalexey96I have a stock AsusWRT on my router and i have no way of disabling it broadcasting itself as secondary DNS for local domain17:47:34
@alexey96:matrix.orgalexey96So the only option to prevent this looping is removing it from resolv.conf on the NixOS machine and i have trouble with this17:48:29
@alexey96:matrix.orgalexey96 * So the only option to prevent this looping is removing ip 192.168.1.1 from resolv.conf on the NixOS machine and i have trouble with this17:49:03

Show newer messages


Back to Room ListRoom Version: 6