Hallo ich versuche nach dieser Anleitung dnsmasq zu installieren: https://wiki.ubuntuusers.de/Dnsmasq/
heidi@heidi-heidi:~$ sudo apt install dnsmasq [sudo] password for heidi: Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: resolvconf The following NEW packages will be installed: dnsmasq 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 16,5 kB of archives. After this operation, 75,8 kB of additional disk space will be used. Get:1 http://de.archive.ubuntu.com/ubuntu disco/universe amd64 dnsmasq all 2.80-1ubuntu1 [16,5 kB] Fetched 16,5 kB in 0s (103 kB/s) Selecting previously unselected package dnsmasq. (Reading database ... 167104 files and directories currently installed.) Preparing to unpack .../dnsmasq_2.80-1ubuntu1_all.deb ... Unpacking dnsmasq (2.80-1ubuntu1) ... Setting up dnsmasq (2.80-1ubuntu1) ... Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq.service → /lib/systemd/system/dnsmasq.service. Job for dnsmasq.service failed because the control process exited with error code. See "systemctl status dnsmasq.service" and "journalctl -xe" for details. invoke-rc.d: initscript dnsmasq, action "start" failed. ● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2019-08-17 12:05:10 CEST; 4ms ago Process: 3287 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS) Process: 3298 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=2) Aug 17 12:05:10 heidi-heidi systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server... Aug 17 12:05:10 heidi-heidi dnsmasq[3287]: dnsmasq: syntax check OK. Aug 17 12:05:10 heidi-heidi dnsmasq[3298]: dnsmasq: failed to create listening socket for port 53: Address already in use Aug 17 12:05:10 heidi-heidi dnsmasq[3298]: failed to create listening socket for port 53: Address already in use Aug 17 12:05:10 heidi-heidi dnsmasq[3298]: FAILED to start up Aug 17 12:05:10 heidi-heidi systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT Aug 17 12:05:10 heidi-heidi systemd[1]: dnsmasq.service: Failed with result 'exit-code'. Aug 17 12:05:10 heidi-heidi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server. Processing triggers for systemd (240-6ubuntu5.3) ... heidi@heidi-heidi:~$ nm-applet
Da ich die /etc/resolv.conf wegen dem network-manager nicht bearbeiten darf,hab ich den Manager auf Automatic dhcp (Address only)127.0.0.1,1.1.1.1 so eingestellt
heidi@heidi-heidi:~$ sudo service dnsmasq restart [sudo] password for heidi: Job for dnsmasq.service failed because the control process exited with error code. See "systemctl status dnsmasq.service" and "journalctl -xe" for details. heidi@heidi-heidi:~$
heidi@heidi-heidi:~$ journalctl -xe -- The job identifier is 2144. Aug 17 12:40:14 heidi-heidi dnsmasq[4224]: dnsmasq: syntax check OK. Aug 17 12:40:14 heidi-heidi dnsmasq[4238]: dnsmasq: failed to create listening socket for port 53: Addres Aug 17 12:40:14 heidi-heidi dnsmasq[4238]: failed to create listening socket for port 53: Address already Aug 17 12:40:14 heidi-heidi dnsmasq[4238]: FAILED to start up Aug 17 12:40:14 heidi-heidi systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/IN -- Subject: Unit process exited -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- An ExecStart= process belonging to unit dnsmasq.service has exited. -- -- The process' exit code is 'exited' and its exit status is 2. Aug 17 12:40:14 heidi-heidi systemd[1]: dnsmasq.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- The unit dnsmasq.service has entered the 'failed' state with result 'exit-code'. Aug 17 12:40:14 heidi-heidi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS serv -- Subject: A start job for unit dnsmasq.service has failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- A start job for unit dnsmasq.service has finished with a failure. -- -- The job identifier is 2144 and the job result is failed. Aug 17 12:40:14 heidi-heidi sudo[4218]: pam_unix(sudo:session): session closed for user root
Wenn ich: /etc/dnsmasq.conf diese Zeile aktiviere:
# Listen on this specific port instead of the standard DNS port # (53). Setting this to zero completely disables DNS function, # leaving only DHCP and/or TFTP. port=5353
Und dnsmasq neu starte hören die Fehlermeldungen auf,dnsmasq läuft aber trotzdem nicht..
heidi@heidi-heidi:~$ dig ubuntuusers.de ; <<>> DiG 9.11.5-P1-1ubuntu2.5-Ubuntu <<>> ubuntuusers.de ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52813 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 65494 ;; QUESTION SECTION: ;ubuntuusers.de. IN A ;; ANSWER SECTION: ubuntuusers.de. 2249 IN A 213.95.41.4 ;; Query time: 0 msec ;; SERVER: 127.0.0.53#53(127.0.0.53) ;; WHEN: Sa Aug 17 12:47:53 CEST 2019 ;; MSG SIZE rcvd: 59 heidi@heidi-heidi:~$
Im Router ist auch noch ein dns server eingetragen,den ich aber weder ändern noch ausschalten kann
Hat jemand eine Idee wie ich weitermachen kann?