Questions tagged [bind]

BIND is the de facto standard DNS server

7
votes
1answer
467 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 ...
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
1answer
249 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
1answer
280 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
1answer
110 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
1answer
596 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 ...
1
vote
1answer
28 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
1answer
357 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
1answer
483 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
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
1answer
322 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 ...
5
votes
0answers
358 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 ...
3
votes
0answers
897 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 ...
2
votes
0answers
931 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
0answers
990 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
208 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
499 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
0answers
245 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
0answers
152 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
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
30 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
118 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
0answers
380 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
105 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
137 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
248 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
255 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
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
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
0answers
447 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
0answers
641 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
0answers
376 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
261 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
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
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
14 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
0answers
8 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
17 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 ...
0
votes
0answers
289 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 ...
0
votes
0answers
50 views

Cannot bind a local domain name to my system

I have added a new zone to /etc/named.conf as follows: zone "mysite.local" IN { type master; file "mysite.local.zone"; allow-update { none; }; }; Also, the zone file is as follows: ;File ...
0
votes
0answers
60 views

How do I assign a separate DNS answer to a port or also to an internal subdomain?

Fun with DNS: Example 1: How to join the party? party.com resolves to an externally hosted web site, but fun.party.com needs to be able to reach a different server, this one is local at 10.0.2.50, ...
0
votes
0answers
222 views

nagios plug-in for collecting DNS stats not working on RHEL server 6.7

We are trying to get the check_bind.sh script to automatically update the named.stats file. However, the file only seems to update when we run the script manually or with a cron job. We have this ...
0
votes
0answers
2k views

CentOS DNS Server for localhost

I need install the DNS Server (BIND - CentOS 7) to work only locally. I mean, the same CentOS that has the BIND will connect/search in the DNS, any other host will 'connect' with this machine. The ...
0
votes
0answers
93 views

How Can I Set Up DNS Server on Virtual Network w/out Internet?

I'm trying to set up a virtual network populated with 4 CentOS 7 servers for testing purposes. I have successfully configured a Kerberos server and a secondary Kerberos server. However, when it ...
0
votes
0answers
60 views

Misc file corruption freebsd 10 and dns zone file

The computer is a VPS from Vultr. They tell me that "since it is loaded into RAM and not really a drive, nothing on the host would be causing this." One particular file, my zone file, will come up ...
0
votes
0answers
28 views

BIND cannot map one name

I setup a BIND sever. Let domain be example.com, httpd running. There is a separate zone for aliases to another domain, different.com I setup zone file for different.com to be: am IN CNAME ...
0
votes
0answers
719 views

DNS/BIND configuration to resolve *.mail.*.outlook.com subdomains

I'm running BIND 9.3.3rc2 on a CentOS 5 system acting as an SMTP server. Until last week, I haven't had any problems with DNS or name resolution. The only problems I have resolving are with subdomains ...
-2
votes
0answers
27 views

pfsense 2.4.4 BIND and DHCP updates

How can DHCP updates in BIND be set up? There is DHCP server for local subnets, running on pfsense-2.4.4. Two networks: 172.16.0.0/24 and 172.17.0.0/24 planned to be used. Also BIND on same pfsense ...