Questions tagged [dns]

The Domain Name System. A mechanism for translating Internet domain names to IP addresses.

176 questions
20
votes
2 answers

Can't connect to Pi on local network via hostname.local on Windows

I'm setting up a Raspberry Pi for the first time, and have been SSHing into it on a Mac on the same network like so: ssh pi@raspberrypi.local However on my Windows 10 box (also on the same network) this hostname does not resolve. I've tried…
dimo414
  • 772
  • 1
  • 6
  • 22
15
votes
4 answers

How to debug avahi-daemon? Hostname not coming through

I installed Avahi with libnss-mdns to be able to access my pi by hostname. Relevant info: $ cat /etc/hostname raspberrypi $ ps ax | grep avahi 2103 ? S 0:00 avahi-daemon: running [raspberrypi.local] 2104 ? S 0:00…
Tino
  • 253
  • 1
  • 2
  • 5
9
votes
2 answers

Proper way to prevent dnsmasq from overwriting DNS server list supplied by DHCP?

I have two interfaces: wlan0 - Wi-Fi client configured via DHCP; wlan1- static IP address, running hostapd to act as access point, running dnsmasq to give out IP addresses and service DNS requests on that interface. Unfortunately, it seems that…
bigjosh
  • 280
  • 1
  • 2
  • 8
7
votes
2 answers

Problem with DNS

Can't connect to www.google.com even being connected to the Internet. I always need to change the DNS to 8.8.8.8 in /etc/resolv.conf but it changes automatically into 127.0.0.1 and then www.google.com do not work.
Niz.Dam
  • 325
  • 3
  • 4
  • 11
6
votes
3 answers

USB OTG w/ Raspberry Pi Zero

I'm following Simple guide for setting up OTG modes on the Raspberry Pi Zero, the fast way! What I've done; flashed latest (2017-04-10) Raspbian image onto SD card, added dtoverlay=dwc2 on new line to config.txt created blank ssh file (without any…
alexus
  • 337
  • 2
  • 12
  • 25
6
votes
3 answers

Cannot make Pi visible on network

I'm running Jessie on a Raspberry 2, and have setup on the network so it can reach the web and ssh is enabled, but cannot see it on the network. The router shows nothing. I've followed various other questions, updated /etc/hostname and /etc/hosts…
geotheory
  • 575
  • 3
  • 10
  • 20
6
votes
3 answers

PiHole not resolving local DNS entries

I have a piHole set up on my network with address 192.168.2.10 My router is 192.168.2.1 and the DNS settings on the router point to 192.168.2.10 meaning all traffic that goes via the router (which is everything) uses the local pihole for DNS (see…
SE1986
  • 99
  • 1
  • 2
  • 7
5
votes
4 answers

Clients connected through OpenVPN unable to process DNS requests through Pi-hole

I am on Rasbian Stretch. I installed OpenVPN (via PiVPN) and Pi-Hole (4.2). I setup my Pi-Hole (that runs on 192.168.1.6 on the LAN) to use Cloudflare DNS over TLS (using the cloudflared service on port 5054). Pi-Hole works great locally (other…
5
votes
2 answers

Raspberry Pi Zero Stretch /etc/resolv.conf DNS problem

I cannot use apt update as every reboot my sudo vim /etc/resolv.conf file resets to the below # Generated by resolvconf search home nameserver 127.0.0.1 I have tried to change the nameserver to a proper DNS but it resets every reboot? How can I…
eekfonky
  • 243
  • 2
  • 5
  • 13
5
votes
3 answers

ssh: connect to host ... port 22: Connection refused

I have dnsmasq configured on a DNS/DHCP server, which is set up so that the domain name mycompany.com is automatically appended to the hostname of each device connected over DHCP. e.g. the computer with the hostname derek will be assigned the FQDN…
3cheesewheel
  • 2,177
  • 6
  • 27
  • 32
5
votes
1 answer

mDNS for Pi stopped working

First time setting up a Pi yesterday, I installed Raspberry Pi OS Lite 64 bit and filled in options in the Imager application to configure wifi out of the box, as well as setting the hostname and allowing ssh through keys only. To my delight, I…
kthy
  • 153
  • 1
  • 5
4
votes
2 answers

Raspberry Pi Wifi Repeater – Block Ads

I configured my raspberry pi as a wireless repeater (using hostapd and dnsmasq). Now I wonder how I could use it to block known ad-servers? What would be the best way? Using iptables? Or setting up an dns-server, which blocks the evil adresses?
jake
  • 1,367
  • 1
  • 11
  • 23
3
votes
1 answer

Configure Caching IPv4/IPv6 DNS Stub Resolver using "systemd-resolved"

"How Do I configure a local caching DNS stub Resolver using "systemd-resolved"?" I've been using BIND to enhance performance by caching name queries on hosts. Since systemd-resolved is part of the systemd furniture, I decided to adopt it in lieu of…
F1Linux
  • 1,677
  • 1
  • 15
  • 32
3
votes
0 answers

Pi-Hole + Unbound ==> Unbound anchor not ok // SERVFAIL

Problem with unbound and pi-hole I followed the official guide for installing Unbound alongside Pi-hole for my network, see Setting up Pi-hole as a recursive DNS server solution A week ago I first followed this guide with a fresh installed Raspbian…
Vorkosik
  • 31
  • 1
  • 2
3
votes
1 answer

AVAHI Daemon doesn't work on RPI

I have installed lighttpd on my RPI 3 : sudo apt-get install lighttpd I have managed to access the web server from /home/pi/www And it works, I can find my Hello World when I entered 192.168.2.31 in my URL browser. Now I try to access my raspberry…
FrancNovation
  • 131
  • 1
  • 4
1
2 3
11 12