Questions tagged [bind]

BIND is the de facto standard DNS server

75 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
541 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 ...
5
votes
0answers
363 views

Server-side move between NFS shares

I have these folders on my server: /share1 /home/user Both are actually on the same partition. Now I want to be able to move files between these two folders directly on the server (without any data ...
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
3
votes
0answers
913 views

How to bind ppp0 interface (PPTP VPN) as 'external' in proxy server?

I'm trying to bind ppp0 interface (PPTP VPN) as 'external' interface in proxy server (Tinyproxy). Unfortunately it does not work. Using route add -net default gw 10.9.0.1 I can make all the traffic ...
3
votes
1answer
272 views

Can AppArmor restrict access to a specific interface?

A deceptively simple question; Can Apparmor on Ubuntu (any release) restrict network access for a specific application to a specific network interface? If it can; an example/tutorial/etc link would ...
2
votes
0answers
1k views

named[862]: resolver priming query complete: every 20 seconds

BIND 9.11.3 Ubuntu 18.04 kernel 4.15.0-23 I am running bind9 as my LAN DNS and it is working for all hosts and forwarding to internet through the google DNS IPs Why does my log have many instances ...
2
votes
1answer
332 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;...
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 ...
2
votes
0answers
213 views

How to configure Bind for Spamassassin

I'm wondering if anyone can help me out with following the directions I found here https://wiki.apache.org/spamassassin/CachingNameserver to set up a working configuration for Spamassassin. I think ...
2
votes
0answers
538 views

BIND 9 intermittently slow

I'm running several Bind servers (v9.10.4) to provide DNS services to my users. Intermittently (about 30 seconds every 15 minutes) all recursive requests will fail and timeout. CPU and Memory on all ...
2
votes
1answer
112 views

What are the most restrictive external firewall / DNS listening port settings I can have for my DNS server (internal clients only)

This question relates specifically to hardening the configuration of DNS, firewalls and at the limit, ntp. (not proxys, http access,vpn's or other services). This is about the externally-facing side ...
2
votes
0answers
250 views

'Named' slave the same as having forwarders?

I have a slave DNS server that dumped a bunch of... " error (unexpected RCODE REFUSED) resolving 'xxx.xxx.xxx.xxx.in-addr.arpa/PTR/IN'" messages all the sudden, and DNS lookups to the slave server ...
2
votes
1answer
616 views

TTL values for external DNS records

Upon setting up my zone files, I went back to review my TTL values. The default is set for 24 hours and I have individual TTL values set for each individual record. My thought was NS, MX, and CNAME ...
2
votes
0answers
159 views

Configure Bind to use specific server as starting point for recursive query?

I'm attempting to setup a Bind DNS server which (for security purposes) is highly limiting. Essentially I only want to allow DNS queries to be made to a particular set of DNS servers which do not ...
2
votes
0answers
78 views

Bind a directory as me

Analogous for a regular user running a thin FTP server (where others can access the file system with his/her permissions), can a regular user (through fuse maybe) "mount" a directory for others to use ...
2
votes
2answers
3k 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 ...
2
votes
0answers
1k views

How can I use an ACL in BIND to forward requests per zone selectively?

I have some zones declared internally as forwards to another DNS, but there is a hefty amount of IP space we do not want to be forwarded in this manner for these zones. These forwards are for very ...
1
vote
0answers
18 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 ...
1
vote
1answer
36 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 ...
1
vote
0answers
34 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/...
1
vote
0answers
135 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 ...
1
vote
1answer
376 views

How do I configure my DNS / DHCP / gateway server with 2 NICs to use its own DNS?

My SOHO lan is served by my main machine which operates as a router, firewall, gateway, DNS, DHCP server and backup server. I've set up bind9 and isc-dhcp-server to do DDNS for the lan clients, while ...
1
vote
0answers
422 views

bind fails to resolve FQDN from root hints file

I'm trying to re-lean how to set up a bind named server after many years. I set up a simulated local LAN and ISP using GNS3. I have an internal and external view for DNS. no errors in zone ...
1
vote
0answers
118 views

How do I view the DDNS leases from BIND9 and DHCP server?

How do I view the DDNS leases from BIND9 and DHCP server? I have set up isc-dhcp-server updating leases with a fixed IP address from /etc/dhcp/dhcpd.conf to BIND9 zone and reverse zone. This command ...
1
vote
0answers
139 views

Problem in receiving answers from bind DNS server

As a part of an experiment I'm running 3 Ubuntu machines in the Create environment. Call them client, server and attacker. Client connected to server. (10.1.1.2 and 10.1.1.3, respectively) Server ...
1
vote
0answers
51 views

Problem in Bind with 4 views

I have Bind server installed on FreeBSD Jails. I have master and two slaves. And I have 4 views for different locations. When I add some record on master zone and type rndc reload I see that all 4 ...
1
vote
0answers
263 views

Mounting mergerfs directory with bind mount under lxc shows nothing unless root or 555 permissions

So I'm using proxmox and have a few hard drives mounted to /mnt/hdd1, /mnt/hdd2 etc I use mergerfs so that they all show up as one drive. I then use a bind mount so that I can access the dir when in ...
1
vote
0answers
268 views

rndc not working on FreeBSD

Hello I have issue with rndc on FreeBSD.I have installed named on jail and I created rndc.conf file.When I type rndc it is working,but when I type rndc something it is not working and shows :rndc: no ...
1
vote
1answer
496 views

Associate Google domain name to Python Flask website hosted at home

I have a Python Flask website which runs on my home system and is accessible to the Internet by home ISP IP address assigned to me and x port number. I have taken care of port forwarding from router, ...
1
vote
2answers
580 views

Control source IP of local DNS queries to local server?

I have a local DNS server running on my Linux router. I have it configured to only allow requests from my LAN (192.168.1.0/24). I also want the server to be able to query itself for DNS. To that end I ...
1
vote
0answers
25 views

BIND: resolv anything not local to 127.0.0.1

is there anyway to get bind9 to resolve anything not known by it's own local config files to "127.0.0.1"?
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 ...
1
vote
0answers
32 views

Should DNS (PTR Records) be configured differently for different ipv6 networks?

I am configuring DNS forward and reverse lookup for IPv6(Redhat). For both /64 and /120 prefix i am using below configuration for PTR records. for address 6b00:8a00:a000:11a1::a2b:1c9f (Only a ...
1
vote
2answers
186 views

resolve bind mounts with a shell tool/script

currently i have a setup with two hardrives, one with xfs, the other one with btrfs on it. The root fs is mounted on the xfs, and the btrfs under /data. For verious reasons, the directory /var/www on ...
1
vote
1answer
327 views

How can I programmatically modify DNS lookups in real time?

I want to use OpenDNS (parental control) and UnoTelly (geo-restriction circumvention) together. OpenDNS returns an IP to an error page if the site is blocked. So if I get that error IP, then I want ...
1
vote
0answers
458 views

Making bind to listen to localhost in netns

I have a Debian Jessie running Bind. There is an OpenVPN connection set up. And resolv.conf set up to use local Bind first: nameserver 127.0.0.1 nameserver 4.2.2.4 I want to set up system in a way ...
1
vote
1answer
839 views

DNS Hostnames - using internal and external zones

Looking for the correct or best practice way of doing this. If you have an external zone called example.com that runs your public mail, web, etc and an internal zone called corp.example.com that runs ...
1
vote
0answers
698 views

Debian Jessie bind9 permission problem

Whenever I start bind9 (/etc/init.d/bind9 start) I get the following reply: [FAIL] Starting domain name service...: bind9 failed This is what /var/log/syslog gives me: ... named[28282]: loading ...
1
vote
3answers
420 views

Security of zone transfers for bind

When having two public DNS servers that provide NS, A, MX, and CNAME records for your domain (website), is it necessary to encrypt the zone transfer data or is it fine to have the master-to-slave sent ...
1
vote
0answers
381 views

Bind9 dynamic zone: where does the delay between update and availability come from?

I have set up a bind9 name server and created a dedicated (internal) subdomain, which can be updated by everybody for whatever purpose. The setup is very in simple and does work in general, but there ...
1
vote
0answers
262 views

Can not reach local DNS server for local dot domain subzones because firewall returns gateway IP

I have pfSense inline between my cable modem and my switch, on pfSense I have a NAT port forward on 53 to my local DNS server which I want to serve local subzones to the LAN with. Right now when I dig ...
1
vote
1answer
211 views

DNS local area vs DNS Virtualbox

I have been trying to set up a DNS server on my system using Linux and bind. (I'm working with CentOS and Linux on my Windows 7) On my Linux everything seemed to work:I can access my server and ping/...
1
vote
0answers
1k views

rndc addzone failed: not found

I installed bin 9.8.4 (default) on Debian Wheezy. after configuration I tried to add a slave zone with the following command: rndc addzone test.zone '{ type slave; file "test.zone"; masters { ns....
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 ...
1
vote
1answer
669 views

DNS zone fallback file

I have the following DNS zone(bind): zone "." IN { type master; file "named.root"; }; If this zone directive cannot resolve the address, how can I "fallback" to another file for the same ...
1
vote
0answers
5k views

Hostname won't resolve, DNS issue, loop detected

I've searched everywhere and tried all the suggestions that I've seen, but I just can't get this to work now (it was working before). This is the first time I've ever installed a test server that I ...
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 ...
0
votes
0answers
23 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
0answers
15 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
15 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 ...