Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Connman - Avoiding conflicts with local DNS server (Read 1814 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[SOLVED] Connman - Avoiding conflicts with local DNS server

Hello guys. Can you tell me in what file do I put the "--nodnsproxy" command for connman to avoiding conflicts with local DNS server
. I'm using Artix Xfce4 with runit.

Thanks in advance.

Re: Connman - Avoiding conflicts with local DNS server

Reply #1
I would guess to the system service file. (Truly just a thought since I am not using conman)

Re: Connman - Avoiding conflicts with local DNS server

Reply #2
Code: [Select]
The run file is: 

#!/bin/sh
[ -r conf ] && . ./conf
exec connmand -n ${OPTS}

Where is that OPTS.

Thanks

Re: Connman - Avoiding conflicts with local DNS server

Reply #3
create file /etc/runit/sv/connmand/conf with contents:
OPTS="--nodnsproxy"

Re: Connman - Avoiding conflicts with local DNS server

Reply #4
Also check the man pages for resolvconf and resolvconf.conf because I think you could probably achieve the same thing using that, and that would work with any network manager or dhcp app if you installed something else in future.


Re: Connman - Avoiding conflicts with local DNS server

Reply #6
Also check the man pages for resolvconf and resolvconf.conf because I think you could probably achieve the same thing using that, and that would work with any network manager or dhcp app if you installed something else in future.
Adding to that list:
Code: [Select]
man bash
man grep

 

Re: Connman - Avoiding conflicts with local DNS server

Reply #7
create file /etc/runit/sv/connmand/conf with contents:
OPTS="--nodnsproxy"

how can i do the same for s6? tried adding
Code: [Select]
OPTS="--nodnsproxy"
in /etc/s6/config/connman.conf, but no luck...
i also tried adding '--nodnsproxy' in /etc/s6/sv/connmand-srv/run (& restart daemon), but still no luck, connman still uses :53.

just starting to learn about s6, so i probably missed something while reading..