Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [bind]

BIND is the de facto standard DNS server

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

socket bind() errno 22 - no time-wait sockets

I am quite new to C & Linux and I tried to setup a TCP socket server for Data exchange with a C-Code I compiled and executed on a Ubuntu System. From a Tutorial I copied the following code (see ...
1
vote
1answer
1k views

Bind9 socket.c unexpected error

The named process is giving this kind of error the whole day: Jun 17 12:50:43 s named[24479]: socket.c:5274: unexpected error: Jun 17 12:50:43 s named[24479]: connect(198.41.0.4#53) 22/Invalid ...
0
votes
1answer
52 views

DNS Bind not loaded due to errors

This is a school assignment and I'm having trouble with my DNS bind configuration. I'm supposed to setup a DNS server and I need to set SOA, NS and glue record, A records for www, mail and for the ...
0
votes
1answer
19 views

How to timeout for specific systemd unit?

Is there a way to change timeout for specific systemd unit? I'm okay with the default 90s, except for bind9; we serve tens of thousands of zones so bind9 needs a few minutes to start.
0
votes
0answers
18 views

Docker Bind Reverse DNS ignoring out-of-zone data

I recently created a BIND docker container, I want to make it become my test environment DNS server which can resolve multiple domains include rDNS. However, my reverse DNS settings always complain ...
2
votes
2answers
4k views

zone delegation in Bind

I have a lot of zones defined in my DNS server. I need to delegate one particular zone to a foreign DNS server and I don't have access to my domain-registrar control panel, currently. Is there a way ...
0
votes
1answer
40 views

How to get dig without bind

Is there a way of installing dig or nslookup without BIND (preferably without compilation)? BIND is known to be a huge security hole, and all I need is the ability to resolve domain names to their A ...
1
vote
3answers
4k views

Split DNS (bind9), match-clients any doesn't work?

I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8. When I nslookup pc1.clase.net internally it responds with ...
0
votes
0answers
29 views

Bind Security Warning

I always seem to find the following message in my Bind logs: security: warning: using built-in root key for view _default Could anybody advise please, what does that mean and how do I fix it? It's ...
0
votes
1answer
18 views

Bind Sync Unknown Command

Could anybody please, enlighten me on the following messages in my logs for Bind: sync 127.in-addr.arpa(unknown command): 2 Time(s) sync domain.com(unknown command): 2 Time(s) It's neither an error ...
5
votes
1answer
71 views

DNS Lookup on server with multiple IPs

I have a single CentOS server (amanda01) with three IP addresses on three different subnets. eth0 = 10.0.2.0 subnet eth0.vlan101 = 10.101.0.0 subnet eth0.vlan107 = 10.107.0.0 subet (As you ...
0
votes
2answers
920 views

reverse slave DNS server zone file not transferred

I am using amazon free tier with RHEL 7and configuring master and slave dns server. From master everything is ok, but slave I couldn't find result. Also I would like to know how can I secure my dns ...
0
votes
0answers
17 views

How should DNS be configured when using a clustered DHCP with DDNS?

I have 2 linux servers on a home network that are configured as DHCP servers in a failover configuration. They also both have named (bind9) installed. I also want each DHCP server to use DDNS so ...
1
vote
0answers
22 views

how to route Traffic from specific port through specific NIC / Gateway?

I tried a few solutions, like binding and iptables. But nothing worked for me. What i want to do is using some applications like Firefox with wlan0 nic for example. and eth0 for everything else. I ...
0
votes
2answers
900 views

Bind doesn't resolve his authoritative zones

I'm currently setting a Bind 9 server on a CentOS 7 system, but I have some kind of unexpected behavior (even though it worked great in my VM). When I want to retrieve records from the zones it is ...
0
votes
1answer
51 views

Bug in Virtualmin (/var/lib/bind/mydomain.com.hosts) causes 'unknown RR type' - prevents Zone loading and DNS propagation [closed]

I had a strange situation the last few days where I was pointing the DNS records from my registrar to my own DNS server and DNS was not propagating. I have done this before successfully and was under ...
2
votes
2answers
5k views

How to use different DNS forwarders based on the source IP or MAC?

How would one configure BIND on a Linux system to forward DNS queries to a different upstream forwarder, based upon the source IP and/or MAC of the requesting host? For example, I might want to send ...
0
votes
0answers
26 views

Master DNS - Windows, Slave DNS - Linux

There is a working DNS server in Windows Server 2016. I installed and configured slave DNS server in Oracle Linux 7. In windows server, I enabled BIND secondaries, and to Listen all ip addresses. ...
0
votes
1answer
126 views

How to grep all unique ip address in /var/log/messages and send them to another log file

I am in the prosses of decommissioning an old Redhat public BIND server and would like to find all unique IP address that are sending DNS request to this Nameserver. So far this is what I have been ...
0
votes
0answers
18 views

Make bind dns to use external recursive dns when resolving fail

My country block some DNS servers. So main recursive DNS server for our institution fails to resolve some domains. Is it possible to use 8.8.8.8 as fallback on our DNS server in case when own ...
0
votes
1answer
18 views

several instances of bind serving same domain

I am trying to configure two DNS-servers (bind) on 2 linux-servers (server1 and server 2) acting as master for the same domain. server1 is intended as primary server and can resolve a subset of all ...
0
votes
1answer
40 views

Bind DNS Server

enter code hereI am setting up my primary DNS server. The reverse lookup appears to work fine, it is the forward lookups that seems to be the problem. Here are my configurations files. /etc/default/...
-1
votes
1answer
23 views

DNS problem: no A record

Ten days ago, i installed a debian 9 stretch, at Kimsufi by OVH. i receive an email from support wich contains a problem with A record, my server is ns.xzave.net, and there is no record A on my server ...
4
votes
1answer
1k 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
1answer
43 views

BIND subnet syntax

I am trying to add an entire subnet to BIND, rather than individual IP addresses. For example instead of doing this: example1.test.com IN A 192.168.5.43 example2.test.com IN A ...
0
votes
0answers
9 views

Is the masters configuration on BIND9 slave stansa limited to 10 IPs?

In the book "DNS and BIND" 5th Edition, it says in the Multiple Master Servers section Are there other ways to make your slave nameserver's configuration more robust? Yes -- you can specify up to ...
0
votes
0answers
72 views

How to setup DNSSEC in BIND on CentOS?

I'am searching the most simple way to setup DNSSEC in BIND using CentOS. I found a question but it's not Centos specific but it's 1000% closer to what I'm after than the entire first page on Google ...
1
vote
1answer
279 views

Reverse DNS fail

I have an installation of Zimbra 8.7 CS multi server Server A: single-server installation (mail.jbv.cl 200.54.163.182) with two domains (jbv.cl and grupojbv.cl) Server B: a second MTA (smtp.grupojbv....
3
votes
2answers
5k views

What happens in a recursive dns query, if ttl = 0?

In name resolution (current version of bind), what happens when a recursive answer reaches ttl 0 on the return trip?
4
votes
1answer
529 views

How to bind to a privileged port from a non-root process, on a Synology NAS

I want to run a custom DNS server (NxFilter to be precise) on a Synology DS115j NAS, which of course binds on port 53. This works when running as root, but I want to lock down the process now. This ...
-1
votes
1answer
954 views

Error in named.conf

I am getting the following error: Starting named: Error in named configuration: zone blk1999.lab/IN: loaded serial 2001062501 zone localhost.localdomain/IN: loading from master file named.localhost ...
1
vote
2answers
1k views

bind9named binary missing - not starting

I have just compiles and installed BIND 9.9.1-P1 on Debian 6.0 as the version in the repositories is too old for Samba4, and am getting the said error. I have been looking for source for named, but ...
0
votes
1answer
1k views

Generate IPv6 reverse PTR records for /64 subnet

I use SixXS and delegated the reverse PTR ip6.arpa zone to my own NS servers, so I am able to set up forward-confirmed hostnames within my subnet. This is great. A particular /64 subnet I designated ...
1
vote
0answers
35 views

fstab bound folders show as disks in GUI

I'm trying to mount different folders on sda7 in the folders in the /home folder. like documents, pictures, and music. I always did that like this: /media/betty/Tuinhuisje/Betty/Documents /home/...
0
votes
2answers
857 views

named.run file deleted but data left on disk? [duplicate]

Today I had a name-server stop resolving DNS due to the /var directory being full from the named.run cache build up. I tried removing all the files using: rm -rf name* However, although running ls ...
1
vote
1answer
87 views

DNS forward only

Need clarification on the documentation on this topic somewhat and wanted to get more info on the following but just can't put my finger on it. Below is a snippet from a DNS BIND 9.9 configuration. ...
1
vote
0answers
159 views

Why do I have duplicate bind mounts?

I'm curious if someone could explain to me what causes the odd scenario where we have a duplicate mount that appears cyclical on Centos 7 when binding a nfs directory? In our hosting environment we ...
0
votes
1answer
443 views

syntax error /etc/named.conf [closed]

I am trying to configure DNS on RHEL 5 for study purposes. I have set up forward zones, reverse zones, and named.conf files in order to get the DNS working, but when I run service named start, I get ...
1
vote
1answer
19 views

There is any difference between this zone syntax?

I'd like to build bind zone files via Ansible. To decide how to structure the jinja2 template I need to know if there is any difference in any of these zone configurations: 1.) good old fashioned way:...
0
votes
1answer
620 views

bind 9.9.4 rndc: connection to remote host closed

I have installed bind-9.9.4-72 on CentOS 7.6 and everything seems working i can query my local zone and remote address etc. but somehow rndc not working This is what i did to configure rndc rndc-...
2
votes
1answer
409 views

BIND as a DNS server host command is refused

I am attempting to run my host machine as a DNS server, it will also function as the gateway. My /etc/named.conf is as follows: options { directory "/var/named/"; allow-query {127.0.0.1;...
0
votes
1answer
358 views

DNS Zone file will not load

Using BIND, I need to determine why my newly created zone file fails the named-checkzone check. Here in order is the named.conf file, the zone file and the error. I have tried changing the ip not sure ...
2
votes
0answers
1k views

Server can't find XXX.in-addr.arpa: NXDOMAIN

I am trying to make a DNS server with bind9 on ubuntu, but when I nslookup the ip I only get the NXDOMAIN status. Same thing happens with my domain www.peliluolaXXX.net. How to solve this? Here are ...
0
votes
1answer
329 views

setting up subdomain at centmin mod

I am in need of setting up subdomains in my CentOS using centmin Mod. This is what I have done so far. Purchase a VPS with IP address: xxx.xxx.xxx and hostname: ns.mydomain.com Install centmin MOD ...
8
votes
1answer
683 views

How to deal with underscores in hostnames?

I got DNS set up on my company's server and it works just fine, except I got problem with some phones. For example one of the phones is “Huawei P9 lite”, and it's hostname (set on the phone, no chance ...
1
vote
1answer
529 views

BIND Reverse DNS Ignoring out-of-zone data

I have a simple, single-address reverse DNS PTR for 10.142.0.2 to gbox.example.com record set up like so: # cat /var/named/zones/0.142.10.in-addr.arpa.db $ORIGIN . $TTL 1D 0.142.10.in-addr.arpa. IN ...
0
votes
0answers
462 views

Bind - Configure different Forwarders only for Specific Domains CDNs (eg. Wetransfer, Cloudflare, Amazon AWS)

INTRO I've setup a linux box where there's a BIND that serves me as a local dns. Basically by taking advantage of RPZ I can restrict some hosts and at same time with DNSCRYPT I forward everything to ...
1
vote
1answer
3k views

Host home.lan.home.lan not found: 4(NOTIMP) error in bind9 (DNS)

I have been following this guide to set up a DNS server using bind9 on Ubuntu 12.04, but after all the configuration, when I run host -l home.lan I get the following error: ; Transfer failed. Host ...
0
votes
1answer
162 views

Pipe to fifo from script

I want to send commands from a script to twinkle (the VOIP software). I thought I could do this with a named pipe so I have created one mkfifo phonecmd If I start twinkle and pipe tail from the ...
2
votes
1answer
241 views

Cannot replicate DNS zone data from master on LAN to slave behind firewall in a DMZ

Here is some information about my setup. I have a master DNS server in my LAN subnet running on a Ubuntu 16.04 box. In addition, I have some slave DNS servers on my various other subnets (DMZ subnet, ...