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
2answers
20 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 ...
1
vote
1answer
456 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 ...
0
votes
1answer
27 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
22k 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
33 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 ...
1
vote
1answer
115 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
221 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 ...
10
votes
3answers
19k 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
1answer
657 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
107 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
2answers
906 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 ...
0
votes
0answers
37 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
43 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
35 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
1k 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
1answer
101 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
2answers
252 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?

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
74 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
47 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 ...
2
votes
1answer
492 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 ...
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
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
18 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
1answer
414 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
1answer
771 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 ...
0
votes
0answers
85 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
30 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
255 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
87 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) ...
0
votes
2answers
8k 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
108 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
94 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
69 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
5k 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
875 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
72 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, ...
0
votes
0answers
85 views

Pi can't ping internet from terminal but have access for chrome and package managers

I'm trying to simply git clone some repo so I can work on it on the raspberry pi. I try git clone git@github:the/repo/place but it returns with ssh: connect to host github.com port 22: No route to ...
5
votes
3answers
1k views

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

DNS Leak when using OpenVPN in Raspberry Pi OS

I could never force OpenVPN to use the remote DNS provided by the vpn server in the latest Raspberry Pi OS (ubuntu has no problem in network manager by default). I've tried so many ways to fix the DNS ...
0
votes
0answers
649 views

How do I set up OpenDNS on my pi hole?

I think I should remove the open dns name servers from my router and go into my pi hole admin panel and then go to settings. I have it set up with ipv4 and there is a listing in the settings called ...
0
votes
2answers
2k views

How to correctly handle port forwarding so pivpn wireguard works. Next steps are pi-hole

I am a noobie. Seem to have issues with anything I install on my raspberry pi 4b. First off I have my router using openDNS (is this a problem or make the set up different?). I set a static IP for my ...
2
votes
3answers
907 views

Local DNSMasq .local domain problem

I have a problem with name resolution on one of my Pis. I have set my router to start dnsmasq with LAN domain local. Other systems except this Pi can ping host.local addresses just fine. I installed ...
0
votes
0answers
56 views

Onion Pi No Internet

Hey I am trying to set up and onion pi and hoping one of you can help with some issues I successfully got the wireless access point setup and onto the internet by following this guide: https://www....
0
votes
2answers
66 views

Raspberry pi run startup python script cannot send HTTP requests

I let my python script run at startup but some of HTTP requests (using requests pip module) not working. However, when I run the script manually with sudo openvt -s -w /path/to/launcher.sh, all HTTP ...
2
votes
1answer
584 views

What are my RasPi DNS Server's resolvers?

I'm setting up a Raspberry Pi 3 as a DNS Server. I've configured it to use a Static IP Address using /etc/dhcpcd.conf and changed /etc/resolvconf.conf to use 127.0.0.1 as my nameserver, and /etc/...
1
vote
0answers
379 views

DNSMasq reporting “TOo few Arguments”

I'm trying to set up a Raspbian X86 server as a DNSMasq host. I've got it configured but I get a error on startup, "Too few arguments." it seems to start up "fairly" normally, but I'm assuming this ...
1
vote
1answer
33 views

spy urls on rpi hotspot

I have setup a rpi wifi hotspot which I can switch on and off using NodeRed. I use it to control my kids internet access time. Trouble is, I have no idea what they are looking at and they seem to be ...
1
vote
1answer
902 views

Preventing DNS Leaks on Raspberry Pi VPN Router

This is my first post, so hopefully I am doing it right. I am still a complete noob at Raspberry Pis, so bear with me here... Here is the story. I followed these tutorials on creating a WiFi hotspot, ...