All Questions

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

Can I Respond to all dns requests with a specific cname?

Is is it possible to configure a dns server (dnsmasq, unbound etc. i dont really care which one) to respond to all request with a specific cname, except for the cname itself? And if yes how and with ...
1
vote
0answers
84 views

Adding additional nameservers with resolvconf, dnsmasq & networkmanager

I'm running resolvconf, dnsmasq and interfaces&connections are managed by NetworkManager (nm). dnsmasq is supposed to cache dns entries, and use upstream servers configured via DHCP and manually. ...
0
votes
0answers
16 views

Is there a way to substitute domain names in DNS requests with dnsmasq?

I'm trying to change domains in all my outgoing DNS requests (before they are going out to DNS server) let's say from <foo>.<suffix1> to <foo>.<suffix2>. Is there a way to do ...
3
votes
1answer
172 views

How do I force dnsmasq to use a specific DNS server without affecting the host systems DNS settings?

How do I set dnsmasq to use one specific DNS server without changing which DNS server the host system uses for its own DNS requests? I should clarify I am not using dnsmasq as a DHCP server but only ...
0
votes
0answers
40 views

Unbound resolving to high ping servers

I have installed unbound on my Pi Hole to get DNS over TLS for my entire home network. I realized that my home network had gotten slower than before. At first, I thought it may be because of Unbound ...
1
vote
0answers
137 views

dnsmasq dns nameserver priority parameters - strict-order

I have a setup specifying two DNS namservers. One in local, the other is external. The local one is a pihole, which itself forwards requests externally after url filtering. The external one is set ...
0
votes
1answer
33 views

Is it possible to suppress upstream DNS records with dnsmasq

Using dnsmasq, I can set new values for existing records, and add new records, event to a zone I don't own. But is it possible to mask or suppress an existing record ? In my case I want a CNAME to be ...
3
votes
2answers
274 views

Compare domain blocking by iptables vs dnsmasq-/etc/hosts

I now use dnsmasq, with a large /etc/hosts file obtained from Energized packs [https://energized.pro/#packs]. Some of these are quite large. Trying to get info from the dnsmasq team, which is still ...
2
votes
0answers
73 views

Use DHCP-provided DNS or not based on connected network

My current networking setup (on Arch Linux) involves: stubby to resolve DNS requests with DNS-over-TLS. dnsmasq to cache DNS queries (and nothing else). openresolv to manage resolv.conf. ...
6
votes
2answers
665 views

systemd-resolved block a domain name

Using systemd-resolved how do I block, route, or resolve, a domain name to a black hole, or a nowhere address. Bonus points for subdomains as well. I tried a single domain in /etc/hosts: 127.0.0.1 ...
0
votes
1answer
1k views

dnsmasq not working after reboot

After rebooting, dnsmasq service is running, but does not respond to remote requests (trying using "dig @10.0.0.1 stackexchange.com" from another machine). The log looks good in my opinion: Aug 11 17:...
0
votes
1answer
2k views

How do I get DNSMasq to serve up DNS to Windows hosts without a domain?

I Have an Ubuntu 16.04 host (10.0.10.2) with DNSMasq installed which is only serving up DNS, and a couple Windows hosts on the same subnet, as well as a couple other Linux hosts on the same subnet. ...
1
vote
0answers
183 views

Help understand output of dnsmasq logs and find performance issues by reading dnsmasq log

I have dnsmasq installed on server and it is heavily used. I have the following dnsmasq log in the /var/log/syslog when given the signal "SIGUSR1": Jul 16 13:45:50 server1 dnsmasq[427008]: time ...
2
votes
1answer
2k views

Use dnsmasq to pushing routes to my clients on a small local network

I'm trying to use dnsmasq to pushing routes to my clients on a small local network. However my clients (Server #1, #2 and #3) can not use these routes. The dnsmasq service is running and I do not ...
3
votes
1answer
206 views

Dnsmasq hostnames on a public domain

I have an OpenWRT/LEDE router with Dnsmasq. I currently have a local domain (something.lan) that is appended to DHCP names, so I can access devices on my network just by connecting to, let's say, ...
0
votes
2answers
2k views

Pi-Hole Redirecting Domain to IP [closed]

I have a domain that points to the external IP of my webserver. I set up a Pi-Hole server and changed my network settings to use it, and I've verified it is working. I want to redirect the URL of my ...
2
votes
1answer
278 views

How to Hide Dnsmasq version number?

It is possible to hide BIND DNS server version number, but how can you change it in dnsmasq? command to execute: dig localhost version.bind txt chaos
1
vote
1answer
421 views

dnsmasq's server option doesn't work for a specific domain

I have configured dnsmasq as a local DNS server. Now since my ISP does not resolve some-company.sharepoint.com I want to use Google's servers for the domain sharepoint.com. (See here for the windows ...
0
votes
0answers
754 views

Resolving domains on Ubuntu 16.04.4 LTS does not work

Resolving domains on Ubuntu is not working 16.04.4 LTS. The home server is connected to the Huawei HG8245 router, the network on the server is parsed by NetworkManager. The NetworkNamager ...
0
votes
1answer
2k views

How to configure dnsmasq as an authoritative DNS server?

I'd like to setup dnsmasq as an authoritative DNS server, but can't find any good guides for it. So could somebody please post a sample configuration of dnsmasq as an authoritative DNS server (with ...
0
votes
3answers
1k views

NGINX Redirect to Domain Name spoofed locally with DNSMasq

I have a Linux VPS serving data on the internet that has a legitimate Domain name and SSL Certificate ( from GoDaddy.com ). I will refere to this server as "www.myserver.com". I also have a local ...
0
votes
1answer
174 views

Some hosts resolves slowly or does not resolved at all with dnsmasq

I am using corporate VPN to access internal resources. After connecting via Shrewsoft VPN client these internal resources had not been resolving because resolv.conf was always having DNS another than ...
1
vote
2answers
2k views

Why does nslookup fail for DNS records set to a private address?

Setup On some networks I'm able to use nslookup to resolve a domain name that is pointed to a private ip address: @work> nslookup my192.ddns.net Server: 10.1.2.3 Address: 10.1.2.3#53 Non-...
1
vote
2answers
2k views

How can I get DNS IP Resolution for an Internet Domain Name pointing to a locally-hosted Web Server from within a LAN (across multiple subnets)?

Cut to the chase: A specific question of mine is this: a client on 10.0.3.X/24 network cannot reach subdomain.site.com. How can I make clients on 10.0.2.X/24 and 10.0.3.X/24 able to resolve 10.0.1.4 ...
2
votes
1answer
898 views

DD-WRT DNSMasq logging help

I recently installed DD-WRT on my Netgear R7000 router and want to log DNS queries. So far without much luck. I'm running DD-WRT v24-sp2 kongac, build 23900M. syslogd is running and currently writing ...
5
votes
1answer
2k views

NetworkManager-configured dnsmasq failing to forward requests

I use Lubuntu 17.04, on which the NetworkManager service (subsystem?) performs some configuration actions when I connect to a new network. One of these is (re)setting the /etc/resolv.conf file to: # ...
3
votes
0answers
231 views

Map DNS requests coming from specific client MAC with dnsmasq

I'm using dnsmasq on OpenWRT. Is it possible to map certain hostnames for DNS requests coming from a specific client? The ultimate goal in my case is to map certain hostnames to 127.0.0.1 to block ...
2
votes
1answer
969 views

How to reorder /etc/resolv.conf at load time [duplicate]

I have a CentOS system that retrieves its upstream DNS servers via DHCP. I want to run DNSMasq on this box and use it as a server to resolve some hostnames for development. The problem is when my ...
1
vote
0answers
708 views

Unbound forwards local requests the wrong way

Good dag. In my network, I have two dns cache/resolvers: Dnsmasq on the router. Unbound on another server. Dnsmasq runs perfect. It provides local dns from the dhcp and the hosts file. Unbound is ...
0
votes
1answer
429 views

DNS caching problem

I have a DNS server, where I put A record with TTL set to 0: example.host.com <some.ip.addr.one> Then I do dig example.host.com And get specified ip address. Later I change update record ...
4
votes
0answers
949 views

Loss of DNS on BeagleBone Black Debian

We are running a remote application on a beaglebone black in which we regularly report our external ip address retrieved from various external ip services (freegeoip.net, ipinfo.io, various STUN ...
1
vote
1answer
3k views

Configure BIND and DNSMasq to work together on the same machine

I have prepared a setup, where both BIND9 and DNSMASQ are installed on my machine. The DNS traffic goes to the port 53 where the main DNS server (BIND) handles the requests, checks the data and ...
3
votes
1answer
1k views

NetworkManager should ask only the “top” DNS server

I'm in a WLAN which is censoring web sites by their DNS server. As I want not to be censored I use a VPN (OpenVPN, NetworkManager) for all of my traffic. If I try to resolve a domain, NetworkManager'...
4
votes
2answers
3k views

Make dnsmasq not altering resolv.conf

Every time I (re)start dnsmasq it replaces /etc/resolv.conf with nameserver 127.0.0.1 .... However that maschine has not to use the local DNS service. (Please don't ask why, the whole environment is ...
6
votes
3answers
16k views

I can resolve a domain, ping the IP, but I can't ping the domain

I am trying to get *.local domains to use the DNS server with vagrant-dns. In order for that to work I set up dnsmasq to run in front of it. NetworkManager is installed but is set to dns=none ...
0
votes
1answer
314 views

Local device DNS thinks I am in the wrong country

I recently traveled to Canada, and once I arrived my Ubuntu 16.10 laptop started having DNS resolution issues after a couple days when it became confused about what country I was in. Initially I could ...
2
votes
2answers
2k views

How to set use tor DNS as the default DNS? [duplicate]

I want to have all DNS queries passing through tor. How to set my default DNS to go through tor? In other word I want to use the IP given by tor-resolve google.com instead of dig google.com.
0
votes
2answers
191 views

How to force machines connected to an AP to use the local AP DNS?

I am sharing documents by running a hotspot in conjonction to dnsmasq that redirect all name queries to an IP <IP> where the documents can be found create_ap wlan0 wlan0 HereAreTheDocuments ...
2
votes
1answer
2k views

dnsmasq as dns only, map mac-address to hostname for dynamic ip

I'm using dnsmasq as a DNS server only (no dhcp), mapping Lan's hostnames to relative ip using /etc/hosts, but in the same Lan there's some ip assigned dynamically by a router (and I'd like to keep so,...
1
vote
2answers
4k views

resolving DNS via Tor

When I am using Tor, and not using the Tor bundle there is a possibility of DNS leaks in certain situations. What can be done to minimize it? Is it possible to resolve DNS via Tor?
2
votes
1answer
2k views

Configure dnssec with dnsmasq, how can I trust google public DNS?

I'm trying to configure a secured DNS service locally, so I use dnsmasq and queries google public dns with dnssec enabled. So I will need to fetch the value for trust-anchor # Uncomment to enable ...
0
votes
1answer
1k views

Purpose of ipv4.dns-option in nmcli

dns-options can be changed for connection name myname to the value value using nmcli con modify myname ipv4.dns-options value Using interactive mode, I get a short description of what dns-options ...
1
vote
1answer
2k views

OpenWRT - Can't block DNS port (53) from WAN-LAN direction

I have a TP-Link WDR4300 router with OpenWRT BarrierBreaker (vargalex build ver. 1.1.7). I use due to my Raspberry (SMB, PMA, Plex, etc) DDNS (duckdns.org) to reach my Router outside of my LAN (I've ...
0
votes
1answer
802 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
726 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
3answers
2k 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
1answer
484 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 > ...
0
votes
1answer
116 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
454 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
391 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 ...