All Questions
Tagged with domain-name-system linux
764
questions
0
votes
0
answers
24
views
Move Nameserver from crashed BIND servers (DNSSEC Enabled)
The situation basically is:
The BIND servers that are authoritative for a domain crashed and are utilizing DNSSEC (Ie; I can't change the DNS entries for the zone), is it enough to have the registrar ...
0
votes
2
answers
46
views
ubuntu vm returning internal ip to docker image
I have a docker image running on multipass on a physical host. The docker container is trying to connect to a service running on the physical host. However, dns resolution tells docker that the ip ...
0
votes
0
answers
69
views
DNSSEC - Unable to sign the relevant files
I have set up a working DNS server on an Ubuntu 22.04 LTS as part of a single server (DNS, SPF, Email, firewall etc)
IP: 192.168.122.189
Test Domain: jetj.ltd
Hostname:mail
The files I have are:
db....
0
votes
1
answer
145
views
How to alias a URL path to another URL path (apache2)?
I've tried everything. Alias, ProxyPass, different config files (sites-available/000-default.conf, mods-enabled/alias.conf). My issue is simple. I have an apache2 server hosted at xyz.com/name/. I'd ...
0
votes
2
answers
277
views
Getting "has no address records (A or AAAA)" error when running named-checkzone
I am currently trying to build my own home lab for the first time, and as a newbie it’s been a bit confusing. For the past few days, I have been working on configuring an internal DNS server, and ...
0
votes
0
answers
38
views
Find LAN's IPv6 multicast address (or else all currently responsive LAN members)?
Hi
Is there a way to see which devices (IP numbers) are active on the LAN over IPv6? With IPv4 I'd ping the broadcast address, which is usually not hard to determine.
With IPv6 I understand there are ...
0
votes
0
answers
89
views
Bind9 how to use RPZ zone for specific subnets
I already have 1 master(192.168.130.32) 4 slaves(192.168.130.35) and 2 authoritative(192.168.130.33) servers with bind9.
My point is to get RPZ(192.168.130.37) from external DNS servers, but I want to ...
2
votes
0
answers
610
views
OpenVPN and dhcp-option domain-route for Windows/Linux
I am trying to understand the dhcp-options usage for Windows and Linux (Ubuntu).
There seems to be difference between the implementation.
Using OpenVPN 2.4 server and client, i test on Windows 10 21H2 ...
0
votes
0
answers
43
views
Arista ceos dnsmasq
I'm using Arista cEOS 4.29.2F and I'm trying to use the dns proxy that this device allow.
However, when I do systemctl status dnsmasq on the Arista's bash, its output is:
● dnsmasq.service - SYSV: ...
1
vote
1
answer
304
views
named-checkconf throwing error on previously functioning forward zone file
I wanted to add a zone to my bind9 configuration (BIND 9.16.1). I have about 20 domains serviced by this name server, most of which have worked for > 10 years.
named-checkconf is throwing errors on ...
-1
votes
1
answer
170
views
How can I resolve all subdomains to an A record?
I have a *.domain.com that I want to resolve into a specific IP.
This *.domain.com has public records, so I want a new local one that overwrites them.
I've tried Bind in a Docker container, but it's ...
0
votes
1
answer
459
views
Simple DNS server in a docker container returns server unknown
its my first time posting here.
I am trying to configure a DNS server with nginx so two docker containers.
for some reason, when I do nslookup ns.main.com, it is returning server: unknown.
Here is my ...
0
votes
0
answers
63
views
Could not resolve host: payments.paystation.co.nz
We have started to have an increasing "could not resolve host" errors from payments.paystation.co.nz.
When we asked them about it they stated the following: "Those errors aren't from a ...
0
votes
1
answer
100
views
BIND MySQL / MyDNS
Good afternoon,
after successfully failing to ask that Question on Stackoverflow, I have to post it here. Problem still exists.
I need your power for another project.
I want to have a DNS-Server, wich ...
0
votes
0
answers
206
views
How to reset dnsmasq console settings?
I'm running the RaspAP on my Raspberry pi and changed some dnsmasq settings in the terminal. Since then I can't connect to any service running at the raspberry. I want to reset the settings I made but ...
0
votes
0
answers
136
views
pwoerdns only replicates after I manually re-creater the slave zone
Hi guys I have two master/slave PowerDNS servers with MySQL backend, which is supposed to be replicated using PowerDNS replication itself (not MySQL replication). But the slave node will get the ...
-1
votes
1
answer
40
views
How should I design my 'public' network of an project?
I'm thinking about doing some online projects as a Developer/IT Technician, and I have some concerns regarding security.
I'm unable to host my servers locally for my project and I thought why not to ...
-1
votes
1
answer
662
views
Can a DNS server accept queries from both IPv4 and IPv6 clients?
I have a remote BIND9 server with an IPv4 address that clients use for their DNS queries. This is mainly a forwarding server where most queries get forwarded to Google’s DNS servers. This works ...
0
votes
0
answers
957
views
DNS does not work in docker. Docker can reach DNS provider and has correct IP. Host works
I have Docker installed on Ubuntu Server 22.04 (via apt not snap). Everything was working until I upgraded from 20.04 to 22.04. Now, DNS does not work inside docker.
$ sudo docker run busybox nslookup ...
5
votes
1
answer
784
views
Is DNS redirection scenario possible?
I have a question regarding DNS, assuming I have my domain register pointed to an external DNS, is it possible for me redirect it to another DNS if something isn't found.
I am asking because of ACME ...
1
vote
0
answers
279
views
RPZ in Bind DNS server not working
I have an external Bind DNS server which is used by a number of remote machines (limited by IP only). The current setup of this server is to act as a forwarding server. I am trying to block certain ...
1
vote
1
answer
969
views
Redirect specific domain on Bind DNS server
I am running a DNS server which is used by remote computers (only specific IP addresses are allowed). I wish to block a few domains by redirecting them to a request form that is hosted on another ...
0
votes
1
answer
5k
views
How to create SRV record in Linux(Bind9)?
I am able to successfully implement DNS with an A record. Now I want to use that to create an SRV record.
Please help me to write the SRV record. I want "fs1" to be primary and when "...
0
votes
2
answers
3k
views
Can I force a custom DNS server for OpenVPN clients, without forced traffic redirection?
I have configured an OpenVPN server to give users remote access to internal company resources. Since the main purpose of this VPN is not to change/hide the users IP address, but to provide access to ...
0
votes
2
answers
53
views
I can't setup bind9
where is my problem?
I'm trying to find problem for 4 days I'm losing my sanity.
;
; BIND data file for starmc.ir
;
$TTL 604800
@ IN SOA starmc.ir. root.starmc.ir. (
...
-1
votes
1
answer
485
views
Wildcard *.domain.com for NS records
I have a linux server, and i want to turn it into a nameserver, with only one task of answering NS queries for some wildcard domains. For example:
*.domain.com. NS 3600 dns1.p09.nsone.net.
*....
0
votes
3
answers
119
views
DNS Server - how to differentiate clients?
I am running my own DNS server on a remote machine using Bind9. This server is currently only used by machines that are connected to the same router. The problem that I am having is that as the DNS ...
1
vote
0
answers
8k
views
Dynamically register hostnames on DNS server (via DHCP)
I want to set up a small network, where a central DHCP server leases IPv4 addresses to the clients. The clients already have their hostnames set and should advertise those to the central DNS server, ...
0
votes
0
answers
3k
views
Docker accessible via localhost:8080 & 127.0.0.1:8080 but not via IP
I have the below scenario - 3x Vagrant VMs are spinned from the below Vagrantfile, up and running (visible within Oracle VirtualBox).
I am logged on docker1, the network type is "NAT", ...
0
votes
2
answers
421
views
Fedora Server NSlookup error when running DNS
So I have 2 VMs (Fedora 24 Server and its Client).
I am trying to run DNS in Server and get output in Client.
The DNS of my client is IP of Server, All of them are on same Class of network with is 192....
0
votes
1
answer
645
views
Achieving high DNS QPS throughput
I'm trying to find the maximum QPS (Query Per Second) of the DNS Resolver VM.
We have our infrastructure hosted on Azure, having a VM (bind based) acting as a resolver querying Azure native DNS (168....
1
vote
0
answers
36
views
Multi-website server accessible publicly but not locally
So I am in charge of a server that is kept in a office setting. The server has Ubuntu 20.04 LTS on a Dell PowerEdge R410 with 24 GB of RAM. It's hard-lined into the router which has port-forwarding on ...
1
vote
0
answers
2k
views
How to avoid "Could not resolve host" inside Docker under heavy load?
the problem I am dealing with for months is explained very easy:
I am running PHP-FPM with docker, and whenever the server load is increasing
I randomly get "Could not resolve host" errors (...
1
vote
0
answers
3k
views
Postfix mail server not sending email
I had a postfix server that I had to restore from a backup and deploy onto a new server. Using the new server, the domain name is not allowing me to send email. I am able to receive emails but sending ...
3
votes
2
answers
8k
views
Why does dig not show the authority section and how to make it show the authoritative name servers that hold the DNS query`s answer?
I started recently to learn about DNS, and I got stuck when using dig command in Linux. More exactly, I'd like to see the authoritative name servers (their names or IP addresses) that hold the answers ...
1
vote
0
answers
260
views
how to make unbound hold many queries for non cached address to cache it first
I am looking for a way to make unbound hold queries for the same address lookup when it is not cached. It should let only one query to be processed, after that answer cached it can reply other queries ...
0
votes
0
answers
493
views
Is it worth it to install and configure fail2ban for an Bind9 authoritative DNS server?
In our project infrastructure we have a nameserver, based on bind9. This nameserver is configured as primary and authoritative, so it is quite important. The question is, should I install and ...
0
votes
2
answers
1k
views
Bind9 Response Policy ignoring out-of-zone data
I'm trying to set up response policy on my existing Bind9 server because I'd like to override some of my company public domain to redirect them to our private network ips.
I've followed this tutorial :...
0
votes
1
answer
229
views
Trouble adding CNAME record for WAF to a hostname that already has an A record
I have a domain (for instance, example.com) that points to certain IP direction (type A record), and DNS system is controlled by my organization. Now, a new web app has been published at news.example....
2
votes
1
answer
5k
views
Removing the default DNS servers from ubuntu server 20.04
I have an ubuntu 20.04 server and I want to change its DNS settings. The server is using netplan and cloud-init.
I disabled cloud-init network configuraion by creating /etc/cloud/cloud.cfg.d/99-...
0
votes
1
answer
1k
views
How to set wildcard DNS record for Azure Virtual Machine w Linux?
I'm trying to deploy WorkAdventure for test in an Azure Linux Virtual Machine with Linux, and access it from the internet.
For this I found here #794 (comment) a reference to a good documentation ...
0
votes
1
answer
2k
views
How to add TXT record in Host File
Is is possible to add TXT record in local hostfile for local verification ?
I was looking for this for demo purpose on a Linux server.
1
vote
0
answers
176
views
Router with vpn client do not forward dns requests to the connected devices
I have a problem with my router forwarding dns requests to it's clients.
My setup is as follows. I have an ISP provider configured on my router and a vpn client connected. In the vpn's network there ...
-1
votes
1
answer
94
views
How can I make a linux CentOS server the master DNS server? [closed]
What kind of scripts do I need for that?
Thanks in advance for any explanation or link to tutorial
2
votes
1
answer
3k
views
powerdns recursor logging not working
i am trying to setup a powerdns recursor with query logging to specific log file with rsyslog. When I set it up and try to query some address and look in the query log file, every line is doubled, it ...
0
votes
1
answer
278
views
Force host to use alternate DNS servers on unresolvable queries with dnsmasq
So here is the situation. I have an IOT device running a Digital Signage system. I am trying to set it up so that it hosts it's own WIFI network and a user can connect to that WIFI, enter an http ...
0
votes
0
answers
28
views
When forwarding a DNS zone, how can i transform/alter the forwarded address?
Lets say I have zone.public.xyz. as a publicly-accessible DNS zone, but I would like to make the private zone.private. zone accessible via a "proxy" DNS nameserver.
The public nameserver has ...
0
votes
0
answers
320
views
Unable to resolve host FQDN in fedora 32 linux
I am connecting through wifi and when I am connecting to the VPN thereafter my /etc/resolv.conf is getting updated as below.
# Generated by NetworkManager
nameserver IPV6_address
nameserver ...
0
votes
0
answers
883
views
setting up DNS proxy server
Because some websites/repos are blocked in my country (like docker repo)
I want to setup a DNS server in Linux on a VPS outside of my country
so the DNS server proxies my requests to blocked websites. ...
0
votes
1
answer
710
views
Fallback options for private DNS servers
I have a private DNS server that is used across locations, configured on routers and on mobile devices. For routers, it uses the IP for DoH/DoTLS. For mobile devices, it uses the domain "dns....