All Questions
Tagged with domain-name-system ubuntu
353
questions
-1
votes
1
answer
115
views
Why am I not able to resolve names on subnet behind a lab network?
I have gotten the task of setting up a network where there is an existing gateway for my "public ip" 10.200.3.2/28 already. I am to setup a gw/dhcp which uses the existing gateway the given ...
0
votes
0
answers
47
views
Unable to nslookup any public website from docker container on ubuntu
I'm unable to dns resolve any public hostname from inside docker container running on Ubuntu:
e4e6b07dafb0:/# traceroute google.com
traceroute: bad address 'google.com
Tried to run the container with ...
0
votes
1
answer
72
views
bind9 multiple ports zone and dns64
When I add the zone it stops working. How can I use them together? I want to go to the zone "." via port 5353
And go to DNS64 via port 53
zone "." {
type slave;
masters port 5353 { ...
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....
-1
votes
1
answer
211
views
DNS server hosted in docker
I am trying to follow tutorial on how to setup DNS server hosted as docker image.
But of course I am facing problems.
I have setup named.conf file as below. But i am completely uncertain what IP ...
0
votes
0
answers
430
views
Ubuntu automatically changes Current DNS Server not resolving my local hosts correctly
I have the following setup on my local network:
A local DNS server running at 10.0.0.102
On the router i have set the primary DNS to 10.0.0.102 and secondary to 8.8.8.8
An Ubuntu server running on 10....
0
votes
0
answers
27
views
Bind9 and Web Server on the same machine + domain setup
I want to ask can I setup for example LAMP with all domains and Bind9 on the same machine ?
If yes, ok.
Now I have one .com domain for example : site.com
Now I want to understand the steps to do to ...
0
votes
1
answer
346
views
rndc showzone returns "rndc: 'showzone' failed: failure" on valid zones
I am running BIND 9.18.12-0 on Ubuntu 22.04 and I have the following problem on more than one installation. I have even installed bind locally with a simple test configuration and I am still seeing ...
-1
votes
1
answer
286
views
Split DNS Issue - Configuring a new domain controller with an existing Apache web HTTP services using the same domain name "example.com"
We have a problem configuring a new domain controller with an existing Linux server hosting an Apache web HTTP services using the same domain name "example.com".
The Ip address for the first ...
0
votes
0
answers
95
views
"resolvectl dns" empty output
I do on my VPS with Ubuntu 22 server (new, clean setup):
root@vm905709:~# resolvectl dns ens3
Link 2 (ens3):
root@vm905709:~#
(BTW, I did it on the same VPS with Debian and it was the same.)
And ...
0
votes
2
answers
955
views
Iptables allow DNS resolution
i made this script for IPTABLES without state.
I need to block any output connection except SSH, DNS, ICMP and Ubuntu Repositories
#! /bin/bash
#Objetivo del script:
#Descartar paquetes excepto ssh y ...
0
votes
0
answers
334
views
Bind9 server random query failed (timed out) error
i used bind 9.18.1 on Ubuntu 22.04.1.
Some clients have an error while answering their queries.
53 port is open.Already most of the time it returns queries successfully
in query-errors.log ;
05-Jan-...
0
votes
2
answers
621
views
How to place resolvectl commands in ovpn profile?
I've got an ovpn config to connect to private network from Ubuntu 20.04 LTS. But every time after starting the vpn I have to run those commands
resolvectl dns tun0 10.0.0.255
resolvectl domain tun0 &...
1
vote
0
answers
469
views
Docker containers behind squid proxy do not use proxy DNS
I am trying to setup a VM in a private NAT to use a squid proxy running on a gateway VM to access the internet.
I have configured the internal VM to use the proxy by setting http_proxy, https_proxy in ...
1
vote
1
answer
962
views
DNS forward to Windows DNS not working after upgrading to Ubuntu 22.04 LTS
A Ubuntu 20.04 server was the internet gateway that was also a dns forwarder. External lookups were forwarded for to Internet and local requests directed to the Windows domain controller that was the ...
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. (
...
0
votes
1
answer
673
views
Ubuntu DNS not working after installing a Bind Container
I have an Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-109-generic x86_64) server with Docker installed. I created a Bind9 container however it would fail to start. Turned out this was because the resolver ...
0
votes
1
answer
195
views
403 after pointing A-Record of subdomain to IP of other server
I have two servers X and Y.
Server X:
I have a VHOST for the subdomain test.api.konfigurator.company.de pointing to a directory which simply has a index.html containing the word "it works!"....
0
votes
1
answer
211
views
DHCP , DNS , FTP , what is the best way to run ? dockerize or just simple install on ubuntu? [closed]
I'm going to install DNS and DHCP and simple FTP service on my company network. My network has about 200 clients, what is the best way to install those services? on a docker environment or just simple ...
0
votes
0
answers
2k
views
#ASK Reverse Zone: Server Can't Find .in-addr.arpa : NXDOMAIN
I figure it out about reverse zone, so I already config my local DNS with this simple config:
1. named.conf.options
acl internal {
192.168.1.0/24; // data
192.168.2.0/24; // data
...
0
votes
1
answer
163
views
one ip resolving 2 websites - Ubuntu 20.04 configuation to allow specific domain
So, I recently setup digital ocean droplet with Ubuntu 20.04 with nginx web server. I one website default say example.com usinh nginx settings and then the IP of digital ocean as a record in domain ...
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 ...
0
votes
2
answers
3k
views
PowerDNS Slave Refused to receive notification notify Refused-*
Hello I got the Error : notify Refused- on the Slave server that waiting for updating record from the Master.
I have installed PowerDNS on a fresh server using the both official PowerDNS ansible and ...
0
votes
1
answer
691
views
i/o timeout when trying to renew letsencrypt certificate
I am running a webserver using caddy 1, which is supposed to renew https certificates automatically using letsencrypt but is having trouble doing so. In the server's logs I see this:
2022/01/14 04:03:...
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 ...
-1
votes
1
answer
89
views
How do I assign Ubuntu PC a domain
I want to assign domain name to Ubuntu 20 server. I have assigned ip manually to server. Looking out for free free dns, I found out this link https://freedns.afraid.org/
I am totally confused how to ...
0
votes
2
answers
468
views
Secure my DNS server by allowing connection only from VPN
I have an Ubuntu 20.04 LTS VPS (connected directly to the internet), on which I installed WireGuard and Pi-Hole.
I noticed tons of requests on my ad-blocking DNS server, and I suddenly realized that ...
0
votes
1
answer
648
views
Overriding a .local Domain to a Public IP
I am using a BIND9 DNS server for my org, and I have an application that was published with a .local domain: example.website.local. There is an .com alternative that I want to re-map the .local to ...
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
Support with configuring bind9 DNS server for a private network
I have a number of servers on my home network (192.168.0.0/24) and would like to setup bind9 as a DNS server, so I can more easily resolve IP addresses of these machines by name.
I installed and ...
1
vote
1
answer
274
views
DNS lookup not working when using Ubuntu as an access point
I have a Ubuntu system with a wired connection to a router, and a USB connection to 4G internet via an iPhone. I want to be able to connect other clients to the router and access the internet via the ...
0
votes
1
answer
284
views
Trouble Configuring Subdomain on Digital Ocean
I've just setup a Ubuntu droplet on Digital Ocean, and I'm having trouble pointing my subdomain to the droplet IP. The main domain is working just fine (it points to a different droplet). When I set ...
1
vote
1
answer
657
views
Squid HTTP Transparent Proxy for Spoofed DNS Requests
I'm working on a security project which requires a remotely-accessible transparent proxy. I have set up an Azure VM running Ubuntu 18.04 with squid running as a transparent proxy. I'm only concerned ...
1
vote
0
answers
413
views
Ubuntu Servers 'loose' DNS and need to run netplay apply
I've got a bunch of ubuntu 18,20 servers (web/app) and their /etc/netplan/conf.yaml has the nameservers pointing to our 2 ubuntu bind/dns servers.
Randomly, and often, I need to run netplay apply on ...
0
votes
1
answer
100
views
Reverse DNS from a cloned linode
I have cloned a linode1 that is linked to mydomain.com and the reverse DNS is li19034-215.members.linode.com;
the reverse DNS of the cloned linode is also li19034-215.members.linode.com; I wouls like ...
0
votes
1
answer
2k
views
NFS fails to resolve hostname
I'm trying to create an NFS docker volume, however I'm unable to do so by hostname.
I'm creating the volume with:
sudo docker volume create --name foo_bar --driver local \
--opt type=nfs4 \
--opt ...
0
votes
1
answer
313
views
Ubuntu 18.04.5 Server DNS issue
I am suddenly having a problem running updates on an Ubuntu 18.04.5 server after years of running weekly updates without any problems. It seems to be DNS related.
I am able to ping outside IP ...
0
votes
0
answers
1k
views
Issue with opendkim key not valid in dns check
I am checking the dkim key generated by opendkim and I keep getting an error of key not valid. Here is the output of mail.txt key file:
I replaced my domain with example.com in this scenario.
mail....
0
votes
1
answer
103
views
How can I fail-over my website domain?
I have two web servers running on a different location with different static IP:
WebServer 1: x.x.x.x
Webserver 2: z.z.z.z
Both servers should point to test.com domain. Let assume currently, Master ...
0
votes
1
answer
831
views
How can I force a nameserver resolution using the second nameserver on an ubuntu server [closed]
I try to download something from nvidia on a remote server via ssh. Iran is banned by the nvidia website. When I check the server dns, that is:
IP4.DNS[1]: 192.168.20.14
...
0
votes
0
answers
14
views
Why am I seeing the Apache2 default screen for CentOS even if I am running ubuntu
I have two apache virtual hosts (domain based) installed on a server running ubuntu (82.223.117.149).
It's uname -a is Linux localhost 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 ...
0
votes
2
answers
2k
views
VirtualBox Ubuntu VM (Windows host) stops resolving names after connecting to VPN on host
I am running a Lubuntu guest VM on my Windows 10 host using VirtualBox (6.0.10r132072). Everything works fine network wise.
When I connect to my company VPN, in most cases the VM loses ability to ...
1
vote
1
answer
401
views
Debian 9 does not find AAAA record for IPv6-only DNS names
I have an AAAA-only DNS name: superdns.cyberfusion.cloud. Using nslookup without options on Debian 9, I get No answer. Using nslookup without options on Ubuntu, I get the correct answer (AAAA record). ...
1
vote
1
answer
273
views
Error sending email (from [email protected] to contac[email protected] with a response to (reply-to header) to undefined)
I have a Drupal 8 site installed on an Ubuntu 18.04 server with PostFix.
I am able to send and receive emails, but the server cannot send notifications to itself.
The email server address is contact@...
0
votes
1
answer
94
views
Best practices for replacing DNS server (P2V)
I'm looking to replace a physical Ubuntu 12.04 host that serves as a DNS slave and internal resolver. It's running a very old version of BIND, runs a 32-bit kernel (and therefore is incompatible with ...
-1
votes
2
answers
5k
views
is it possible to host multiple server that have different IPs on the same port such as 80? [closed]
I am trying to setup multiple website domains, but from different servers and because they are different servers they have different IPs, I am wondering if I could port forward each domain to 80, so ...
-2
votes
1
answer
182
views
why my Authoritative DNS Server on Ubuntu 18.04 not working after server ip changed? [closed]
I have an Ubuntu 18.04 VPS server that I ran both authoritative DNS and web server on it.
I use BIND 9.11.3-1ubuntu1.9-Ubuntu for DNS system.
Everything was just fine until for some reason I had to ...
0
votes
1
answer
40
views
route main site traffic from non-www to www while keeping sub domains alive with nginx
The desired functionality of my nginx configuration for my website is as follows.
All main site traffic to example.com should redirect to https://www.example.com. All non-www traffic to the base ...
3
votes
2
answers
13k
views
Bind master doesn't sync to slave
I got handed an old Bind system at work, and the zones on the master doesn't sync to the slave.
I'm a noob at bind, and could really use the help. I would like all changes made on the MASTER to sync ...
2
votes
1
answer
4k
views
Set hostname using cloudinit for dhcp server: Systemd overrides cloudinit hostname
For a testing environment, I want to connect multiple VMs using DHCP with their hostnames as DNS entrys. The troubleshooting shows that my DNS/DHCP works. But the VM got registered using ubuntu as ...