Questions tagged [dns]

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

Filter by
Sorted by
Tagged with
7
votes
1answer
7k 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
0answers
480 views

Raspberry & DNSMasq

I am trying to install and configure DNSMasq on my Raspberry. When I try to edit the configuration using sudo nano /etc/dnqmasq.conf I noticed that the file is empty. Is my DNSMasq corrupted? I ...
1
vote
1answer
168 views

Wifi Hotspot, adding VPN breaks DNS? [closed]

With my rasp Pi, I made a Wifi AP (on wlan0) and I keep the raspberry connected to internet (eth0). The Rasp is not only used for surfing the public web, but also to get sensitive datas on one server. ...
2
votes
4answers
4k views

Cannot access raspberry pi by hostname

I have a wifi extender at home, every device is connected to it, not the router. After connecting to the wifi extender, I can access RPi by local ip address, but not its hostname. When I try to ping ...
0
votes
2answers
13k views

Bridge eth0 and eth1 and run dnsmasq

I have a RaspberryPi along with a USB to Ethernet adapter (eth1). I want to bridge eth0 and eth1 and create a br0 interface. I want to devices connected to eth1 receive their DNS (dnsmasq) ...
1
vote
1answer
547 views

WIFI - DNS works but internet does not

I am trying to connect my raspberry to WPA2-Personal network. Raspberry connects to the WIFI and is assigned IP but I am not able to use the internet (DNS seems to work tho): pi@raspberrypi ~ $ ping ...
0
votes
2answers
172 views

How do I use different DNS with multiple networks?

Looking at This Post on Multiple Networks, I was wondering how to include the ability to change the dns nameservers. At home I would use one set of information but at school I need to use a different ...
1
vote
1answer
458 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 (...
2
votes
2answers
8k views

Raspberry Pi has two ip addresses [closed]

when I enter nslookup in my macbooks terminal, the output is: Server: 192.168.2.1 Address: 192.168.2.1#53 Name: raspberrypi.fritz.box Address: 192.168.2.32 Name: raspberrypi.fritz.box ...
0
votes
1answer
898 views

Unable to access internal website from internet

I am running on my raspberry (Debian wheezy) the services DHCP, Apache2, MySQL and Bind9. All work fine within the internal network. However, when I try to access the website from internet, it can't ...
1
vote
3answers
404 views

Raspberry pi as public web server

I want to make my raspberry pi server public, I have successfully used it locally and "it works". There are a lot of tutorials on this but they all say that you have to do some port forwarding in your ...
1
vote
0answers
418 views

Raspberry Pi Wifi hotspot without DNS resolution

Have set up a wireless hotspot using hostapd and a Realtek dongle. The hotspot is created fine, devices can connect, however all DNS resolution by clients fails. I believe this is due to the network ...
1
vote
1answer
2k views

I can't access the internet through my raspberry pi when connected through ssh

Proof of the error When I try ping 8.8.8.8 through SSH I get this: PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. --- 8.8.8.8 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, ...
2
votes
2answers
844 views

Resolving Windows Shares

RPi can access smb://$server/$share no problem through file manager RPi can not resolve //$server/$share RPi can not ping/nslookup //$server/$share RPi can ping IP address of //$server Looking ...
2
votes
1answer
3k views

How to setup DNS server on a closed network?

I have a network, with no internet connection, with a few computers and a raspberry pi on it. I want to setup a DNS server on the raspberry pi so that the computers on the network may use it. For ...
8
votes
2answers
15k 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
3answers
15k views

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 ...