a lightweight server providing DHCP and DNS capabilities

learn more… | top users | synonyms

0
votes
1answer
28 views

how to make my dns server public?

i'm trying to make a public DNS server , my DNS server works only on my internal network but when i try to 'nslookup example.com myDNSserverIP(public ip)' it fails i'm running it on ubuntu 15.10-...
1
vote
1answer
37 views

How to set-up a local DNS? Is it related to a real one, external one?

I run Raspberries on Jessie in a home network, with quite a bunch of devices. I know many machines by IP, but it is slowly getting harder to keep on top of things. I use one machine as a server (...
1
vote
1answer
12 views

OpenWrt: do manually configured ip assignments survive a reboot?

As far as I know if I want to make an ip address static, I have to put it into /etc/ethers file. But does it survive a reboot 100% (stored in persistent storage)? I don't want to mess with it and ...
1
vote
3answers
54 views

Dnsmasq points nonexistent subdomains point to local IP

There's a specific remote subdomain mymachine.home.com whose the IP changes on all the time that I need to update DNSMasq to have it resolve correctly. But I tested pinging xxxxxx.home.com which ...
1
vote
0answers
24 views

round robin for curl and dnsmasq

I have setup dnsmasq to the basic configuration, pointing a file with two IP addresses. 10.0.0.1 a.b.c 10.0.0.2 a.b.c When I do nslookup or dig on a.b.c, I see round robin seems to be in effect (...
0
votes
0answers
24 views

Raspberry Pi 3. generation Accesspoint connection problems

First of all: I'm using the Raspberry Pi in the third generation - with Kali Linux 2.1.2. I want to use the Raspberry Pi as an accesspoint. I've already installed hostapd and dnsmasq. The SSID shows ...
1
vote
0answers
19 views

Trouble update-rc.d remove'ing dnsmasq on Debian Stretch

Background: On my Debian Stretch machine at home, I've noticed my DNS lookup times are pretty slow, and have concluded that the culprit is dnsmasq - since if I take it down, name resolution becomes > ...
2
votes
0answers
56 views

Nginx with dnsmasq 'could not be resolved (5: Operation refused)'

I'm trying to set up a django site using docker, nginx and uwsgi: I have a nginx docker container working as a reverse proxy (called ceca-nginx-proxy) and another nginx (ceca-nginx) container that ...
1
vote
1answer
47 views

i can't open, ping,.. any domain after upgrade debian

after upgrade debian i cannot open or ping any domain even in firefox (but i havnt any problem via proxy). for example wget: unable to resolve host address ‘google.com’ but i can work with ip (add ...
0
votes
1answer
51 views

iptables forward all traffic to 2 different interfaces

I'm currently using dnsmasq to create a small Debian box as a DHCP and DNS cache server. Until today, I had just 2 interfaces (eth0, eth1). One connected to my WAN (eth0) and one connected to my LAN (...
0
votes
1answer
99 views

Redirect https request on local network

I'm trying to implement a local web server that handle all the http requests. Basically, when a user connect to the network and open an url, he is redirected to my local web server. I'm using dns ...
1
vote
0answers
23 views

How can I connect to NetworkManagers's dnsmasq instance via dbus?

I'd like to interact with the dnsmasq instance spawned by NetworkManager via it's dbus-Interface. I couldn't find the address, object path etc., the only thing I could dig up is: http://www.thekelleys....
0
votes
1answer
30 views

Domain forwarding/masking

We have to redirect/forward all HTTP(S) requests from one web server A to a web server B (which will show the downtime info) only if the server A is not accessible. Can we use DNS forwarding for this ...
1
vote
0answers
149 views

dnsmasq conditional forwarding based on domain

The desired result is that i need dnsmasq to forward queries it received based on the hostname it needs to resolve. DNS is the only function required. No dhcp, tftp, etc. 192.168.1.2 is the machine ...
0
votes
0answers
19 views

Openvpn clients discovery through dns

I have got an openvpn server in germany and various Linux centos clients connecting to him. The first and difficult thing that I'm noticing, is the impossibility to have got resolv.conf updated by ...
0
votes
0answers
34 views

Auto-assign free static IP address from a range to a container (veth)?

In the config-file of an individual LXC container, one can specify a static IP address so the inside of the container does not need to acquire an IP by DHCP. Is there a way to automatically assign ...
0
votes
1answer
196 views

LXC ip allocation using DHCP

I'm trying to set up DHCP for my lxcontainers without using lxc-net. The reason for this decision is that I'd like to place my containers in different networks, such that they are unable to talk to ...
1
vote
0answers
77 views

getting dnsmasq to issue different ip address for domain name when dhcp client connected

I am undertaking development of an https application (both client and server) which requires that I issue myself a certificate with the domain name of the server. Lets say its test.example.com and I ...
1
vote
0answers
254 views

How to disable dnsmasq?

From time to time when I'm switching from eth0 to wlan0 (or vice versa) interface domain name resolving breaks and /etc/resolv.conf contains nameserver 127.0.1.1 I commented #dns=dnsmasq in /etc/...
4
votes
1answer
121 views

Is libvirt dnsmasq exposed to the network, if I run Fedora without a firewall?

There's this nice saying from Ubuntu: no open ports on the default install. Other Linux OS's look the same, including Fedora. No-one wants to worry about firewalls, if they don't need to. Yuck, ...
3
votes
1answer
201 views

Get the external IP address in shell without dig in 2016?

This question: "How can I get my external IP address in bash?" Solves the question with a call to dig: dig +short myip.opendns.com @resolver1.opendns.com; that is the fastest resolution possible, ...
1
vote
0answers
94 views

IPv6, dnsmasq dhcp-range

I'm trying to assign IPv6 addresses to my LAN clients with dnsmasq 2.62 on Debian Wheezy: enable-ra dhcp-range=interface:br0,fde4:709f:bee2:a87b::,fde4:709f:bee2:a87b::ff,ra-stateless The ...
1
vote
1answer
93 views

How can I programmatically modify DNS lookups in real time?

I want to use OpenDNS (parental control) and UnoTelly (geo-restriction circumvention) together. OpenDNS returns an IP to an error page if the site is blocked. So if I get that error IP, then I want ...
3
votes
2answers
57 views

dnsmasq does not listen to conf file

I have installed and started dnsmasq, using brew install dnsqmasq and sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist respectively. I tried to use the "adress" function inside ...
2
votes
1answer
64 views

DNS temporarily fails with VPN addresses

I'm connecting to a company network on Lubuntu 15.10 with vpnc either on terminal or via the network manager. Sometimes I can reach the intranet hosts fine, then suddenly they are gone. Then they come ...
1
vote
0answers
109 views

Split-horizon on DNSMasq?

Is it possible to perform Split-horizon with DNSMasq? I've googled and it seems like it is only possible with Bind9, any advice would be much appericated
1
vote
0answers
240 views

How can I ensure DNS resolved common URL-s on Linux Mint and DNSmasq

I am experiencing a problem with Linux Mint 17.2. Some experiments demonstrated there's some issue with resolving URL-s. update 2015-12-02: Perhaps some one who understands this problem can ...
1
vote
1answer
88 views

How can I (re-)connect DNS for gmail on Linux Mint?

Let me refer responders to this thread on Linux Mint forums: Chrome/Firefox not loading Google websites I've seen this four times in the past two weeks or so. The loss of connection does ...
2
votes
1answer
123 views

dnsmasq - different subnet by wifi SSID - how?

I'm using dnsmasq on an ubuntu 14.04 server as my DHCP and DNS servers on my LAN. This device has only 1 ethernet NIC. I want to setup a wireless Access Point with multiple SSID's. The wifi AP and ...
1
vote
2answers
128 views

Is there a way to resolve DNS locally when using an HTTP proxy?

This is based on this question: http://askubuntu.com/questions/447877/how-to-resolve-the-dns-locally-when-there-is-a-proxy-configured All I want to know is if there is an existing way to achieve this:...
3
votes
0answers
96 views

Dnsmasq problem with Linux network namespace

I have tried to use dnsmasq as the name server for virtual machines. On all the vm-s, /etc/resolv.conf indicates the vm need to access 192.168.15.3 to resolve the domain names. However, the interface ...
1
vote
1answer
62 views

DNSMASQ on Ubuntu in VM not offering leases to client

I have Ubuntu running in VMWare workstation 12. I have a USB ethernet adapter which appears as eth1, and is statically assigned 192.168.0.10 My dnsmasq.conf is: port=0 domain-needed bogus-priv ...
4
votes
0answers
199 views

HOSTAPD fails without stopping and drops clients

I am not the strongest Linux admin. I just thought I would throw that out there. I have a Linux wireless access point with HOSTAPD and DNSMASQ. I have been working on this for quite some time and I ...
0
votes
0answers
312 views

Use iptables to redirect **all* requests, even DNS-unsolved domain?

Context: With iptables, I redirect all the traffic - incoming at port 80 - to a distant server IP (X.X.X.X). I aim that anywhat you write in the urlbar of browser, you get X.X.X.X. IP That works a ...
0
votes
1answer
192 views

Apache VirtualHost redirect 302 (cyclic link)

I seek some wisdom, so please help... I have one VM acting as router/web server/dnsmasq server on IP: 192.168.100.1. And I have other machine acting as client. Server has IPTables rule to redirect ...
0
votes
0answers
124 views

DD-WRT dnsmasq configuration file not working

I've been trying to redirect specific domains to a different DNS address using dnsmasq and haven't been able to get it to work. I found the man page and saw the option --test which does the following: ...
1
vote
1answer
785 views

How do I limit dnsmasq listening to only one interface?

I've tried to have dnsmasq (version 2.66) listen only to the loopback interface but it obsesses on listening to all available addresses, i.e. 0.0.0.0:53 despite the following arguments: # dnsmasq -...
0
votes
0answers
192 views

Wifi Hotspot dnsmasq no DHCP ACK

I am creating a Wifi hotspot with hostapd and providing DHCP/DNS through dnsmasq. When a client connects to the Wifi hotspot it is subsequently unable to obtain an IP address through DHCP. The ...
1
vote
0answers
160 views

Using Ubuntu Server machine as a DHCP and DNS server to forward URL's to IP addresses

I'm inexperienced with Linux servers but I've done okay so far - basically I want this machine to dish out IP addresses via DHCP (done) and then I also want it to act as a DNS server that simply sends ...
0
votes
0answers
106 views

enable/disable domain redirection

My router can be joined by clients. enable // I'd like to redirect all traffic to an IP (13.37.42.1), I mean any IP and any domain. disable // Then I d like to be able to disable it. Then clients ...
4
votes
2answers
299 views

Internet connection lost after installing dnsmasq

I'm currently trying to set up an access point on my raspberry pi, but as soon as I install 'dnsmasq', the internet connection is lost ('unknown host' when trying to ping any server). What causes ...
1
vote
1answer
70 views

DNS server's not working in subnet

I have installed two virtual machines on my PC - Fedora Server and Fedora Live Workstation. Fedora Server has two network interfaces - one configured as NAT interface but other one - for working in ...
0
votes
1answer
52 views

dhclient giving weird address when hostapd and dnsmasq are installed but not running

I'm trying to set up a script so that I can switch between wlan0 being an AP and being a client at certain times, but I hit a snag. Hostapd and dnsmasq both start up fine and appear to work normally, ...
0
votes
2answers
83 views

single dns server in a private network

I have a netgear wireless router, single web server , 100 clients with 192.168.0.0/24 network. I haven't Internet connection and I am not connected to outside world. Now my goal is to provide the ...
0
votes
3answers
1k views

DNS Issue in ubuntu 14.04

I am facing DNS resolving issue sometimes in my Ubuntu 14.04.2 LTS trusty. I have configured my system with network manager to work with static IP assignment. I have also tried by changing DNS server ...
2
votes
1answer
46 views

Does dnsmasq automatically update when running as a dhcp server as well?

I want to set up dnsmasq on a Raspberry Pi to use as a DNS server for my home network. My goal is to have a setup where when a new device is connected to the home network, it can be addressed by its ...
1
vote
1answer
760 views

DNS whitelist domains

I'm trying to set a couple of DNS servers to resolve only specified domains. My first attempt was to run DNSmasq and create a manual list of domains/IPs, like so: no-resolv address=/whatsapp.com/192....
4
votes
0answers
515 views

How do I boot the linux kernel over PXE with dnsmasq and syslinux?

Are these dnsmasq.conf options fine: port=0 interface=enp0s20u2u1 bind-interfaces dhcp-range=192.168.2.50,192.168.2.220,12h dhcp-boot=boot/syslinux/lpxelinux.0 dhcp-option-force=209,boot/syslinux/pxe....
0
votes
0answers
609 views

How do I start dnsmasq?

I have installed dnsmasq but I can't start it: $ dnsmasq dnsmasq: failed to create listening socket for 10.0.1.57: Permission denied $ sudo dnsmasq dnsmasq: failed to create listening socket for ...
1
vote
2answers
513 views

dnsmasq causes inability to resolve DNS queries made by host

On a headless Ubuntu 14.04 vanilla machine I setup dnsmasq as a DNS proxy with the following configuration in /etc/dnsmasq.conf no-resolv nameserver=<some working custom dns ip> port=5555 #to ...