Questions tagged [bind]

BIND is the most widely used DNS software on the internet and the de facto standard on Unix-like operating systems.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Bind9 - dig example.com not showing the private IP address

I have installed Ubuntu 20 and installed the bind9. 'DNS : ns1.example.com' 'IP: 10.201.1.253' Created a zone files ; ; BIND data file for local loopback interface ; $TTL 604800 @ IN SOA ns1....
user avatar
0 votes
0 answers
83 views

Is there a way of configuring 2 or more web domains for only 1 DNS server?

I´m now creating 2 websites on Apache2 web server (Ubuntu 20.04 based) and they both have different domains (domain1.com and domain2.com for this example). Webpages are hosted on /var/www/domain1 and /...
user avatar
2 votes
1 answer
241 views

xmodmap doesn't work anymore after upgrading to 22.04

I upgraded to the latest 22.04 LTS version this morning and after that my xmodmap script doesn't work anymore, i'm curious if something has changed that is causing the script to not work anymore. I ...
user avatar
0 votes
1 answer
24 views

Unmount volume, and dependent mounts

I explain: Currently I have: A volume mounted to a directory, /mountDirectory And I also have a local directory that has a mount bind to a directory on the volume: /localDirectory mount bind /...
user avatar
-2 votes
1 answer
96 views

Vulnerabilities in Bind9

I have received below vulnerabilities advisory in my ubuntu 20 servers installed with bind9. existing version is - BIND 9.16.1-Ubuntu (Stable Release) and upgrade it to the latest. latest bind9 in ...
user avatar
1 vote
0 answers
21 views

How to create a local DNS server to hand queries from different local servers [closed]

I have 3 DNS servers , a Master server ( which maps names to IPs and vice versa in my LAN) as well as a slave DNS server and a caching server. Now I was hoping for some advice to create ONE server ...
user avatar
0 votes
0 answers
20 views

How to make my bind config file last weeks

I just woke up and I realized my dns stopped working after doing it 10 hours ago so , how to make my dns last longer in BIND. Do I have to redo my files like what is the method to just refresh this ...
user avatar
  • 1
0 votes
1 answer
26 views

how to make domain have www using bind

Hello I currently was making a private dns server using bind and my lookup works perfectly using host.yoursenecaid.ops but how can I change it to www.yoursenecaid.ops , I am kinda new to bind and ...
user avatar
  • 1
0 votes
1 answer
262 views

Unexpected end of input | BIND9

I'm getting the error from below when starting bind9 (I'm using Ubuntu 20.04.3 LTS and bind 9.16.1): I'm almost sure that the issue is related to /var/cache/bind/managed-keys.bind but I don't know ...
user avatar
  • 113
1 vote
0 answers
588 views

Can't start BIND9 | Requests repeated too quickly

I'm having a problem when starting BIND9 using sudo systemctl start bind9. I get a random error and when I examine it with sudo systemctl status bind9, I get this: bind9.service: Failed with result '...
user avatar
  • 113
2 votes
0 answers
15 views

Is using snap and using "move to trash" mutually exclusive when using home directories on alternative partitions

I slowly started to accept that Ubuntu is forcing its users to use snap instead of apt (which I've used for 20+ years and like). Having been around for a few years, I'm offloading my home directories ...
user avatar
0 votes
1 answer
99 views

BIND - named.conf.local and define variables/functions?

I'm using Ubuntu 20.04 and BIND 9.16.1. In named.conf.local i'm using three zones zone "lan" in { type slave; file "/var/cache/bind/db.lan"; masters { ...
user avatar
  • 11
0 votes
1 answer
221 views

Different output for ldd between sudo and root

on my system, the output for ldd /usr/bin/openssl differers between the regular user, root and sudo. This is the output for the regular user: $ whoami myname $ ldd /usr/bin/openssl linux-vdso.so.1 ...
user avatar
  • 21
0 votes
1 answer
470 views

Bind9 (named) does not start after upgrade from 9.16.1 to 9.16.15

I am using bind9 on Ubuntu 21.10. Under an older Version of bind9, everything is working fine: $ named -v BIND 9.16.1-Ubuntu (Stable Release) <id:[censored]> However, when I am upgrading bind9 ...
user avatar
  • 21
0 votes
1 answer
758 views

nmap is not showing hostnames

I am new to linux, and I am trying to get all the hostnames from the hosts of my local network. I was trying the command: sudo nmap -sn 192.168.0.0/24 and also: sudo nmap -sn -R 192.168.0.0/24 but ...
user avatar
  • 1
0 votes
0 answers
30 views

dig @hostIP works but dig alone does not lots of errors saying my host name can not be resolved. named is fine

All of my services seem to be ok. I was configuring bind to use another domain and the checkconf and checkzone all work. If i do dig @myIP google.com. it replies fine dig google.com gives Sudo: ...
user avatar
  • 1
0 votes
1 answer
2k views

BIND9 not resolving after upgrade to Ubuntu 20.04

I'm running an authoritative server using BIND 9.16.1 on Ubuntu 20.04 and recently I upgraded from Ubuntu 16.04 but I've been having issues with resolving both A records and PTR records. Everything ...
user avatar
0 votes
0 answers
302 views

How to prevent BIND logging queries matching a regular expression?

I am currently running BIND named on my Internet facing servers to respond to authoritative query requests for my domains. So, I have configured /etc/bind/named.conf.local as follows to log all ...
user avatar
  • 6,431
0 votes
1 answer
717 views

How to configure fail2ban for both TCP and UDP port?

I want to ban some DNS requests coming to my named server. The server normally listens both TCP and UDP port 53 and logs the requests to /var/log/named/query.log file. So, I added the following entry ...
user avatar
  • 6,431
0 votes
1 answer
482 views

How to add subdomains by defining new zones in a local DNS server

I have a local server which I am managing multiple VMs with Qemu-KVM under ubuntu 18.04. Local server has already a static IP and a domain name given from our company IT, say the domain name main....
user avatar
  • 113
1 vote
1 answer
72 views

I can't figure out how to mount my drives properly

I am trying to figure out a way to mount my two drives correctly. I am running ubuntu (20.04.2) and I can't seem to find a solution. I installed the boot partition on my ssd and I also have a 4 TB ...
user avatar
  • 11
0 votes
0 answers
225 views

Why can't change ip ubuntu server 20

In host main, has service dhcp with bind9 And configure for distribute ip static for one new mac 11:27:00:6a:5b => 192.16.2.23. But when installed the system operation Ubuntu 20, services dhpc ...
user avatar
1 vote
0 answers
1k views

zmq.error.ZMQError: Address already in use

I have installed Anaconda (python 3.7) in my ubuntu 20.04 system. However, while running my Python code from the Spyder console, I am getting the following error: An error occurred while starting the ...
user avatar
0 votes
1 answer
2k views

I can't install "bind9-dnsutils" in ubuntu 20.04

While I'm try to install sudo apt-get install bind9-dnsutils , I get the following error: The following packages have unmet dependencies: bind9-dnsutils : Depends: bind9-libs (= 1:9.16.1-0ubuntu2) ...
user avatar
0 votes
1 answer
69 views

Bind9 - a completely new person

Forgive me if might appear highly dumb. I would like to make DNS that my PC takes advantage of even more secure. ATM I am using Cloudflare. I was suggested "bind9¨. Now, as I understand its a ...
user avatar
1 vote
2 answers
14k views

Server Can't Find: SERVFAIL & Bind9 DNS Server Setup

i'm trying to deploy a web app on a VPS server. The app build with Django and currently trying to serve files with Apache2. I'm having trouble with DNS setup(bind9). The company i use does not help ...
user avatar
  • 13
0 votes
1 answer
2k views

BIND 9.16.1-Ubuntu '::1/64': address/prefix length mismatch '64'

I set up a new ubuntu 20.04 server and installed BIND 9.16.1-Ubuntu. Then I copied the bind configuration from my old ubuntu 16.04.7 running BIND 9.10.3-P4-Ubuntu. When I try to start bind on the new ...
user avatar
1 vote
2 answers
2k views

dnsmasq cannot start after Ubuntu update

I had Ubuntu 16.04 which I recently upgraded to 18.04. On 16.04 I had dnsmasq with running configuration in parallel with bind. After upgrade, I am not able to start dnsmasq due to following error: ...
user avatar
0 votes
0 answers
269 views

VPN works on colleagues' MacOS (via Tunnelblick) but not on Ubuntu 20.04 (Openvpn)

The company I work for has a vpn. I have been given an .ovpn and .crt file and the setup goes smoothly. But when I try to log in I get the following entries in syslog: nm-openvpn[11198]: UDP link ...
user avatar
  • 101
0 votes
0 answers
1k views

bind error 98, "Address already in use" after process restart

I am running custom service process at ubuntu 18.04.1, an face the following problem: During debugging, I often stop the process and start it again, and when process tryes to bind a socket, it ...
user avatar
0 votes
1 answer
326 views

Running a service will not bind to ports # 443 and # 80 despite application of sudo setcap 'cap_net_bind_service=+ep' /path/to/binary

The service starts and attemps to listen to port # 443, I get errno=99 which is EADDRNOTAVAIL and std::strerror(errno) reports "Cannot assign requested address". If I run sudo getcap /path/...
user avatar
  • 121
0 votes
0 answers
45 views

Website not accessible from outside of my house, but works fine on my home network

I have a Ubuntu server 20.04, I cannot access my cloud system outside of my house, I am running bind9, apache2, php, MariaDB, I use Cloudflare and I have ipv6 enabled on my router, ip address 1: lo: &...
user avatar
  • 472
2 votes
1 answer
680 views

x-gvfs-hide in fstab, to hide a folder in file system

I have placed some large folders on a separate disk, in a single partition, but I want them to show up in my file system as if they were in my root partition. In fstab I mount the separate disk on /...
user avatar
2 votes
2 answers
1k views

DNS server does not listen on IPv6 after a reboot

I have two newly created 20.04 instances on AWS (Amazon Web Services). One is of type t2, the other of type t3. These instances have both IPv4 and IPv6 configured. As you probably know, these ...
user avatar
  • 6,431
0 votes
0 answers
136 views

Access ubuntu machine behind WIFI router using local domain name

I have an ubuntu machine connected behind a WIFI router which is connected to the internet. I have setup bind9 DNS on my ubuntu machine and assigned a local domain name "myserver.cloud". I ...
user avatar
  • 133
3 votes
0 answers
333 views

Infinite loop when unbind+bind the device to the same driver in udev

I am using Magic Mouse 2 with ubuntu 20.04. To use the scrolling feature, I had to install this driver: https://github.com/rohitpid/Linux-Magic-Trackpad-2-Driver. The only problem is that I need to ...
user avatar
  • 31
0 votes
0 answers
211 views

Reverse DNS Lookup Not Functioning Properly

I recently set up a server running Ubuntu 18.04 Server on my local network in a DMZ. I am trying to run it as a mail server, among other things. I had been running a mail server on a desktop PC on the ...
user avatar
0 votes
1 answer
4k views

Failed to enable unit: Unit file named.service does not exist

everyone After installing bind9 apt install -y bind9 bind9utils bind9-doc dnsutils I want to enable named service. systemctl enable named But I get this error: Failed to enable unit: Unit file ...
user avatar
  • 111
0 votes
1 answer
2k views

Named.Service is not active

How do I fix named.service is not active, cannot reload.? The output for /etc/init.d/named status is ● named.service - BIND Domain Name Server Loaded: loaded (/lib/systemd/system/named.service;...
user avatar
  • 472
0 votes
0 answers
2k views

How to setup Bind9 on ubuntu server 20.04 /DNS issue- bind9

I installed Ubuntu Server 20.04 LTS, yesterday, how do I setup bind9 to point to my domain Sturtz.ml, I got my domain with Freenom and I am using Cloudflare I will share the files if you ask for, I ...
user avatar
  • 472
0 votes
0 answers
79 views

sda1 ro, sda2 rw but with bindings to sda1! How to?

I try to do the following In our fstab: /dev/sda1 / ext2 defaults,noatime,ro 0 0 /dev/sda2 /mnt/dd2 ext3 defaults,...
user avatar
0 votes
0 answers
194 views

LXD: Imported container doesn't start - Problem with ACLs

I am just trying to launch a container, which was created on an other machine. I've done this the following way: $ lxc snapshot container_name snapshot_name $ lxc publish container_name/...
user avatar
  • 1
1 vote
0 answers
313 views

redis bind address localhost with (double colon) ::1

This may be the noobiest question ever, but can someone tell me what the ::1 means in redis configuration for bind? E.g.: bind 127.0.0.1 ::1 In a docker image made my colleagues, this was the set ...
user avatar
1 vote
0 answers
178 views

How do I install bind on user mode linux?

I am trying to build a DNS simulation by using bind on several user mode linux (UML) instances on the same computer. I have UML installed and working, but I can't figure out how to install anything. ...
user avatar
0 votes
1 answer
3k views

bind9 logs; resolver priming query (5/ minute)

I am running bind9 on two 19.04 hosts and each has logs flooded with this error. Both are working well enough: the only issue is the fat logs. The error message is the same, but the named source ...
user avatar
0 votes
1 answer
197 views

Hosting a DNS server (e.g. bind9)

Hello I am a beginner with networking. I have some questions and I hope you can answer me or give some pointers, so I can learn how to do this: I have my server at home with one real static IP. Using ...
user avatar
0 votes
1 answer
561 views

Implementing DNS over TLS on 18.04

I am not very familiar with Linux, as I have predominantly been involved with everything Microsoft for the majority of my IT life, but I am just looking at the possibility of implementing a pair of ...
user avatar
  • 1
2 votes
1 answer
4k views

CURL not working but ping and nslookup yes working with local DNS server Ubuntu16.04

We are working with Bind server on Ubuntu 16.04. We are unable to curl because DNS resolution but ping and nslookup are working from Ubuntu16.04 client. Client - ping: root@app-01:~# ping -c1 ...
user avatar
  • 23
2 votes
1 answer
264 views

How to access my website without entering the FQDN, just the domain

To access my website (just a testing page for now) I have to enter hostname.domainname.com. I would like instead of just entering the domain name (domain.com). Do i have to configure BIND, do I need ...
user avatar
0 votes
1 answer
3k views

Bind logging not working

I am running Ubuntu 18.04.2 and BIND 9.11.3 I am trying to enable logging by adding the following to /etc/bind/named.conf.local logging { channel bind.log { file "/var/log/bind/bind.log" ...
user avatar
  • 339

1
2 3 4 5