Questions tagged [dns]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
800 views

“Could not resolve hostname” on Pi for local services

My Pi cannot resolve hostnames of other services in the same local network. Resolution of external services works fine. $ nslookup example.com Server: 127.0.0.1 Address: 127.0.0.1#53 Non-...
0
votes
0answers
17 views

Can Chrome use DNS-over-HTTPS with Pi-Hole?

[UPDATED] I have more information that makes me think I've misconfigured Pi-hole or that Pi-hole and cloudflared don't work together exactly the way that Chrome needs them to. As explained in my ...
0
votes
1answer
1k views

No internet,Dns resolution problem?

I've tried the solutions posted in other threads but have had no success. I have a problem with my Pi not connecting to the internet so far I've tried wired and wireless on my home network and ...
1
vote
2answers
2k views

PiHole Not Resolving Local DNS Entries for clients with static IPs

I have a Raspberry Pi 2 running Pi Hole 5.2.2 and Cisco Linksys E2000 router running DD-WRT v24-sp2 (08/12/10) std-usb-ftp I want to be able to have PiHole resolve a DNS entry such as MyDevice to an ...
1
vote
1answer
117 views

problem with name domain resolution (I believe)

The problem is I can ping for example google's ip address but not the domain name (browsing to google.com works as well) sudo apt-get update gives the following : 0% [Connecting to mirrordirector....
1
vote
1answer
243 views

Avahi listing pi without .local suffix

I have a number of raspberry pis that I swap out (only one running at a time). One responds to ssh pi@raspberrypi rather than ssh pi@raspberrypi.local like the rest. I have looked at how to change ...
0
votes
1answer
715 views

Pi-hole will not connect

I am trying to set up my Raspberry Pi as a DNS blocker on my network. but whenever I try to add the ip address and password, I get the prompt "It only works with version 3." Or when I mess around ...
0
votes
2answers
1k views

Using OpenVPN and having DNS Leak

I've only ever used Windows and this is my first time with a Raspberry Pi. All I wanted is to be connected to a VPN while acting as a hotspot so that my devices that connect to it will also be ...
-1
votes
1answer
27 views

Raspberry Pi fails to connect to specific network by wifi/ethernet

I’ve been attempting to connect a Pi 4B 4Gb to a network on a Technicolor DGA4231 router in the latest Raspberry Pi OS. Flashed to a Micro SD card with no modifications at all. It seems to get an ...
0
votes
1answer
39 views

Cannot SSH onto my PI using my domain name instead of IP

I have a domain name’s DNS configured with cloudflare that sets the A record to my public IP address (I’ve set DDNS so I can SSH onto my raspberry pi if my dynamic IP ever changes). However, for some ...
8
votes
2answers
9k views

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 ...
0
votes
1answer
2k views

How to make Raspberry Pi an Internet whitelist

I want to set-up an Internet whitelist (a feature NOT AVAILABLE in my modem/router) using a Raspberry Pi Zero W (RPi0W). As answered in this post, I have made changes to /etc/privoxy/config: As in ...
0
votes
2answers
265 views

Pi Zero W is set up as AP & connected to my wifi. When connected, hostname resolves to 127.0.1.1, so I must use an IP address. Can it be fixed? [closed]

Using the guide found at http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap, I have a successfully working AP that is also connected to my home wifi, and passes thru internet -- I'm ...
0
votes
1answer
18 views

Pi addressing ping to the wrong destination [closed]

I have a private network that requires end to end connectivity pi 1 -> device 1 -> device 2 -> pi 2 The traffic is getting all the way from pi 1 to pi 2 However, the return doesn't work ...
0
votes
0answers
23 views

DNS not working how to correct?

I am a newbie, got my Raspberry Pi 4B as a birthday present. The OS is PRETTY_NAME="Raspbian GNU/Linux 10 (buster)", NAME="Raspbian GNU/Linux",VERSION_ID="10" I started ...
2
votes
1answer
508 views

Assigning IP to eth0 device using Pi already set up as a wireless access point

I have followed the tutorial at https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md and successfuly turned my pi into a standalone wireless access point to control my ...
1
vote
1answer
17 views

dnsmasq, have to manually set dns after each reboot

I have a small problem, i'm using dnsmasq and NetworkManager. Every time i reboot, i check the resolv.conf file and the nameserver here is always set to 127.0.0.1 (nothing alarming here) except I ...
-1
votes
1answer
33 views

DNS issue, resolv.conf doesn't reflect interfaces configurations

I open this issue because I have a weird behavior on my Raspberry Pi 4 8Gb where I have installed raspios_arm64-2020-08-24 After I did the installation, I made changes in /etc/network/interfaces.d/...
0
votes
1answer
2k views

Raspberry Pi Access Point name instead of IP

I've created an access point on my Pi, and created a website. I can connect my pi with an ethernet cable to my laptop (with shared internet) so that the Pi goes into a subnet, and can connect to ...
0
votes
0answers
56 views

WiFi Network with systemd-networkd but using dnsmasq as DHCP server to give fixed IP leases

Switching between AP and STA mode without rebooting over a WEB interface and managing WiFi clients over the WEB interface is the goal of my project, much like a WiFi router. The clients do not support ...
0
votes
2answers
65 views

Windows can't resolve raspberrypi domain name

I currently have a Raspberry Pi 4 set up on my home network, running Pi-hole. I also have a desktop on this network, dual booting Windows and Linux Mint. When I'm running Linux Mint, I can connect to ...
5
votes
2answers
20k views

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....
0
votes
0answers
34 views

Setup a bridged Wireless Access Point with custom DNS?

I would like to setup a wireless AP in bridge mode, so the main router is propagating IP addresses via DHCP, but I want to have the AP use a different DNS resolver instead of the main router. I ...
3
votes
1answer
3k views

How to be sure pi-hole is working and how to make it block youtube ads?

I have installed pi-hole on my raspberry to stop ads. For the moment, I added the IP of the raspaberry to the DNS list in my Mac. The list of the DNSs in my Mac is the following: 8.8.8.8 8.8.8.4 ...
0
votes
1answer
41 views

Setting up WiFi Dongle as an AP with Raspberry Pi as the end-point

I'm trying to create a bit of a custom gateway with a Raspberry Pi 4B which consists of a LoRaWAN gateway module and a wifi dongle to connect/debug/configure the pi. The LoRaWAN gateway (from RAK ...
17
votes
2answers
24k views

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) ...
3
votes
5answers
14k views

How to prevent /etc/resolv.conf from being overwritten?

I use a static IP for my RPi: root@rpi2:/etc# cat /etc/network/interfaces auto lo iface lo inet loopback allow-hotplug wlan0 iface wlan0 inet static address 192.168.0.2 netmask 255....
0
votes
2answers
69 views

can't resolve hostnames on raspberry pi in private network

I have a fresh installed raspberry pi 3 that is connected to my laptop via ethernet. I want my laptop to act as a router between the raspberry and internet. I get the network and router configuration ...
10
votes
3answers
20k views

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 [...
0
votes
2answers
246 views

No name resolution on host running pi-hole

I have setup pi-hole on my raspian buster and it works as intended for clients (IPv4 and IPv6). The host on which pi-hole is running, however, cannot resolve any addresses. My Pi has a static IPv4 ...
0
votes
0answers
45 views

No DNS in resolv.conf when using dhcp

Firstly, I have to mention that I am configuring the network interfaces manually by modifying dhcpcd.conf and wpa_supplicant.conf. I need to do it like this because of the project that I work on. ...
0
votes
2answers
62 views

networkd & resolved acces point custom dns and dns forwarding

Edit: I'm not looking for a full guide/answer necessarily, a nudge in the right direction (like what tool to use) would be of great help already! thanks :) I am trying to create an accesspoint with a ...
0
votes
0answers
62 views

Got an IPv6 address on my wifi (dnsmasq) but no internet connection for connected devices

I got IPv6 with dnsmasq runnig on my raspberry to serve mobiles and other wifi devices. The raspberry pi is connected via eth0. The wlan0 device serves IPv6 addresses but the connected devices can't ...
0
votes
1answer
289 views

Pi hole: How to set the DNS server back to the router?

There are plenty tutorials how to set up the pi-hole as a DNS server. But I cant find any how to do the reverse. I set up a pi hole as a DNS server and configured in my router to sent all traffic ...
0
votes
1answer
177 views

How can the Pi Zero (connected over WiFi) be set as the DNS resolver for your WiFi router (instead of say 8.8.8.8)?

I'm an experienced SO'r but am a Pi n00b so please forgive my ignorance if you will. I badly want a low-effort Pi-hole. A Pi Zero seems the optimal setup for it except that I can't see how what seems ...
0
votes
1answer
103 views

Can't resolve hostname in sub-network

I have a raspberry pi (192.168.1.1) set up as an AP for a few devices. The WIFI connection works, DHCP also seems to give out valid addresses. The issue is that none of the devices in the network are ...
0
votes
0answers
24 views

Pi access point brilliant (until another pi connects to it!)

just joined and have in interesting issue. I have a Pi3b+ hooked up to my router running hostapd, dnsmasq and openvpn running an airvpn config, it is solid as a rock. It has a static IP on wlan0 192....
0
votes
0answers
20 views

I cannot use wget or pip without encountering connection errors after following tutorial

I followed these access point instructions (lines of commands and file edits) tutorial, and now whenever I use wget or pip, connection errors are thrown. These were the instructions I followed: sudo ...
0
votes
0answers
145 views

Can't connect to Raspberry Pi 4 through No-IP dynamic dns hostname, with ports forwarded

First off, I have my RPi4 on a static IP set from my router. I have configured No-IP DDNS which is compatible with my ISP's modem/router so it should be updated with the correct public IP, and have ...
0
votes
0answers
39 views

Configuring for WifI Concurrent Mode result in DNS Issue for networking

I was trying to configure for my Raspberry to be client and access point mode when I run into problem of access the web and even apt-get update This is the diagnostic that I have done: First i try to ...
3
votes
0answers
474 views

How to netboot Ubuntu 20.04.1 Pi4 to Pi4 with dnsmasq…?

I've been trying to netboot my Pi4's using a Pi4 with dnsmasq on Ubuntu. So the idea is to have one Pi with attached storage serving the others. My setup is: master PI with an USB SSD running Ubuntu ...
0
votes
1answer
169 views

How to setup Pi with a mdns address other than .local?

hardware Raspberry Pi 4 running Raspbian Lite Purpose I already have an IoT Stack comprising of InfluxDB, Telegraf, Mosquitto, Grafana running on the Pi via docker (docker-compose more precisely) ...
1
vote
2answers
10k views

Temporary failure in name resolution

I have a Pi running a version of raspbian 64bit. It works on my home network and my previous hotel network. However, different week, different hotel and my pi starts kicking up this error: Temporary ...
0
votes
1answer
202 views

Cannot access RPi server (node js) from a browser using hostname

I set hostname of my Raspberry Pi 3 to "myhost", avahi is running ok (systemctl confirmed, to run with myhost.local). From my Ubuntu WSL on Windows 10 I can ssh to the RPi with ssh pi@myhost ...
0
votes
2answers
197 views

Change hostname only for apache2?

I'm just running a website on my local network, and I want to change the hostname (because it's run on <HOSTNAME>.local), but I only want to change the hostname for the local domain name, not ...
-1
votes
2answers
98 views

Raspberry pi apache2 dns name?

I recently installed apache2 on my raspberry pi 4B. I can reach it from the local IP (192.168.1.85). FYI I used this tutorial. Anyway anywhere 'example.com' showed up I entered an UNUSED domain name, ...
3
votes
1answer
6k views

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 ...
0
votes
3answers
1k views

What is the correct way to specify a DNS server IP address when receiving an IP address via DHCP?

I have already read the very useful question about dhcpcd: How do I set up networking/WiFi/static IP address? My situation seems to be slightly unusual: DHCP server on LAN is set to always give the ...
5
votes
3answers
2k views

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 ...
1
vote
1answer
127 views

networkd DNS issues (cannot resolve pip name)

I have configured my pi0w's wifi as per my own answer to this other question (and this great answer by Ingo that it's based on) to utilise both AP and Client modes. Everything generally works fine, ...