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
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 ...
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 [...
5
votes
2answers
18k 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....
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....
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) ...
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, ...
1
vote
1answer
513 views

SSH works only with public IP but not with dynamic DNS hostname

I configured my Raspberry Pi B+ with OSMC to accept incoming connection from outside. This works fine if I use directly the public IP from ssh command on console, but if I use my No-IP hostname (...
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
1answer
1k views

SSH connection fails after access point settings

I have created a hotspot or access point (using hostadp and dhcp server) with edimax and my rp2 exactly following this tutorial by adafruit. This hotspot is working well, but now I want to control my ...
0
votes
3answers
3k views

How to setup hostapd to send DNS server address during DHCP session start on RPizeroW wifi repeater

I have attempted to set-up a Wifi repeater on a Raspberry pi zero W using this very good tutorial : Access point as WiFi repeater, optional with bridge Meanwhile i have 2 problems : No IP address ...
0
votes
2answers
296 views

ssh in local LAN: works with IP, but not by name

On a local LAN, I am trying to ssh into a freshly installed Raspberry Zero WH, by host name. I am connecting from an Ubuntu box. The Rasbperry Pi does boot, and connects to the Wifi. I can see it in ...
0
votes
2answers
178 views

is it bad to use somename.local as domain?

I have setup my home network with a couple of linux'es with webmin, isc-dhcp and bind9 I'm using "neland.local" as domain, for instance pi.neland.local or dell-mini.neland.local It works from ...
0
votes
2answers
711 views

No Internet, can ping to IPs but not hostnames

I have a raspberrypi zero w using pivpn, was working fine until I upgraded to stretch, now I can still to it via the vpn and do ssh, but I have no internet. Trying a few things in the pi, when I do a ...