Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: dnscrypt

  1. #1

    Default dnscrypt

    The dnscrypt suse package seem to be broken. When i try to start dnscrypt-proxy.service after installation of the package, I get permission denied error:

    Code:
    systemd[1]: Starting DNSCrypt-proxy client... 
    ppk systemd[1]: Started DNSCrypt-proxy client. 
    ppk dnscrypt-proxy[28162]: [2021-09-12 19:51:19] [NOTICE] dnscrypt-proxy 2.1.0 
    ppk dnscrypt-proxy[28162]: [2021-09-12 19:51:19] [NOTICE] Network connectivity detected 
    ppk dnscrypt-proxy[28162]: [2021-09-12 19:51:19] [FATAL] listen udp 127.0.0.1:53: bind: permission denied 
    ppk systemd[1]: dnscrypt-proxy.service: Main process exited, code=exited, status=255/EXCEPTION 
    ppk systemd[1]: dnscrypt-proxy.service: Failed with result 'exit-code'.
    Had anyone ever tried to make it work on opensuse?

  2. #2
    Join Date
    Sep 2012
    Posts
    6,835

    Default Re: dnscrypt

    Did you read README.openSUSE that comes with this package?

  3. #3

    Default Re: dnscrypt

    Quote Originally Posted by arvidjaar View Post
    Did you read README.openSUSE that comes with this package?

    If only the package had suggested it in it's description.

    BTW, wouldn't it be nice if the info about the doc was put in the description? Or even the whole doc became part of the descirption?

  4. #4

    Default Re: dnscrypt

    Nah, sadly the doc is of no help. After installing `openresolv` and doing sudo systemctl start dnscrypt-proxy-resolvconf.service
    the /etc/resolv.conf still contains stuff created by netconfig


  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,334
    Blog Entries
    1

    Default Re: dnscrypt

    Quote Originally Posted by baltic View Post
    ...the /etc/resolv.conf still contains stuff created by netconfig
    Check /etc/sysconfig/network/config for 'NETCONFIG_DNS_POLICY=' and disable as mentioned there....
    ## Type: string
    ## Default: "auto"
    #
    # Defines the DNS merge policy as documented in netconfig(8) manual page.
    # Set to "" to disable DNS configuration.
    #
    NETCONFIG_DNS_POLICY=""
    openSUSE Leap 15.3; KDE Plasma 5

  6. #6

    Default Re: dnscrypt

    Isn't network configuration managed by NetworkManager on desktop linuxes?

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,334
    Blog Entries
    1

    Default Re: dnscrypt

    Quote Originally Posted by baltic View Post
    Isn't network configuration managed by NetworkManager on desktop linuxes?
    I have no idea what you have configured. openSUSE offers NetworkManager, wicked, and systemd-networkd.
    openSUSE Leap 15.3; KDE Plasma 5

  8. #8

    Default Re: dnscrypt

    Basically its a stock tumbleweed

  9. #9
    Join Date
    Oct 2014
    Location
    Rotterdam
    Posts
    673

    Default Re: dnscrypt

    For me dnscrypt is working on Tumbleweed 20210904 in combination with Network Manager:

    Code:
    $ > sudo systemctl status dnscrypt-proxy.socket  
     dnscrypt-proxy.socket - DNSCrypt-proxy socket 
         Loaded: loaded (/usr/lib/systemd/system/dnscrypt-proxy.socket; enabled; vendor preset: disabled) 
         Active: active (running) since Mon 2021-09-13 08:23:36 CEST; 4h 35min ago 
       Triggers:  dnscrypt-proxy.service 
           Docs: https://github.com/DNSCrypt/dnscrypt-proxy/wiki/systemd 
                 file:/usr/share/doc/packages/dnscrypt-proxy/README.openSUSE 
         Listen: 127.0.0.1:53 (Stream) 
                 127.0.0.1:53 (Datagram) 
          Tasks: 0 (limit: 4915) 
            CPU: 481us 
         CGroup: /system.slice/dnscrypt-proxy.socket 
    
    Sep 13 08:23:36 linux-d7n9 systemd[1]: dnscrypt-proxy.socket: TCP_NODELAY failed: Protocol not available
    Sep 13 08:23:36 linux-d7n9 systemd[1]: Listening on DNSCrypt-proxy socket.
    I did install it some months ago and followed README.openSUSE option C and AFAIK I did not have to do anything else to get it running.

    For resolv.conf I have these notes:

    Being OpenSuse, netconfig is managing /etc/resolv.conf, configuration via /etc/sysconfig/network/config
    To disable did change in /etc/sysconfig/network/config NETCONFIG_DNS_POLICY to "":

    # NETCONFIG_DNS_POLICY="auto"
    NETCONFIG_DNS_POLICY=""

    Next delete the symbolic link of /etc/resolv.conf to /run/netconfig/resolv.conf and create a new /etc/resolve.conf:

    $ sudo rm /etc/resolv.conf
    $ sudo vi /etc/resolv.conf
    $ cat /etc/resolv.conf
    # Was managed by netconfig:
    # > ls -l /etc/resolv.conf
    # lrwxrwxrwx 1 root root 26 Sep 12 2020 /etc/resolv.conf -> /run/netconfig/resolv.conf
    #
    # Updated to use dnscrypt-proxy
    nameserver 127.0.0.1
    options edns0

    And restart the network using:

    $ sudo systemctl restart network

  10. #10

    Default Re: dnscrypt

    I've tried option A. still doesn't start

    Code:
    systemd[1]: dnscrypt-proxy.socket: TCP_NODELAY failed: Protocol not available 
    systemd[1]: Listening on DNSCrypt-proxy socket. 
    systemd[1]: dnscrypt-proxy.socket: Failed with result 'service-start-limit-hit'.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •