Questions tagged [bind]

BIND is the de facto standard DNS server

Filter by
Sorted by
Tagged with
1
vote
2answers
3k views

Unable to install bind-utils in RHEL 7.3, dependency error on bind-license

I'm trying to install dig through bind-utils on an AWS EC2 RHEL 7.3 instance, but I get a dependency error. Requires: bind-license = 32:9.9.4-37.el7 but Installed: 32:bind-license-9.9.4-38.el7_3....
1
vote
2answers
599 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
26 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
947 views

Configuring a local configured DNS to use an external DNS for external addressing

I've been playing with this for a week, and am kind of given up. I was assigned a task to configure a locally setup DNS on a system, and redirect it to an external DNS to resolve addresses such as ...
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
191 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
329 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
468 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
857 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
1answer
840 views

BIND9 denying queries from IPs outsite localnet (External IPs) - Ubuntu 14.04

BIND9 denying queries from IPs outsite localnet (External IPs) on Ubuntu. options { listen-on port 53 { any; }; directory "/var/bind"; allow-query ...
1
vote
0answers
732 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
424 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
678 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
1answer
138 views

tcsh bindkey to turn on readline variable `visible-stats`

In .inputrc I store readline commands for bash, for example: bind "\C-S": i-search-fwd I do the same in .bindings for tcsh: bindkey "^S" i-search-fwd To specify readline variables in .inputrc I do:...
0
votes
1answer
34 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 ...
0
votes
1answer
47 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 ...
0
votes
1answer
310 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 ...
0
votes
2answers
269 views

Linux DNS (named) service

how can I resolve some global web sites (google.com, Facebook.com) to local IP address (for example 192.168.0.1). Anyone can help me ? ; Authoritative data for facebook.com zone ; $TTL 1D @ IN SOA ...
0
votes
1answer
424 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 ...
0
votes
1answer
110 views

configure same domain name as external in bind

I want to configure local domain zone in bind9 like "example.com" for local lan to add some hosts only. but if I configure that I am unable to connect to "example.com" which is public registered ...
0
votes
1answer
679 views

Bind DNS slave for all zone

We have Bind9 running as a slave but i am wondering it doesn't have anywhere statment like type slave in named.conf but i can see its updating entries from master. We only add entries in master and ...
0
votes
1answer
600 views

DNS problem > If I disable recursion, I can't ping my result

I have configured dns server, and if i enable recursion, I can ping and got the result. [root@seobd ec2-user]# nslookup google.com Server: 52.10.197.195 Address: 52.10.197.195#53 Non-...
0
votes
1answer
326 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 ...
0
votes
1answer
862 views

Trying to debug /etc/init.d/named, no output, replace > /dev/null with /var/log/named.log?

I'm trying to debug named, when I try: [root@test master]# service named start Starting named: [FAILED] it fails silently, so I tried: sed -i 's/\/dev\/null/...
0
votes
2answers
227 views

Change/Create permissions for a folder

How can I create (if the folder is new) or change (if the folder was already existent) permissions for a folder? In particular, I want to create a subdirectory in /etc/bind/ where I can put the ...
0
votes
1answer
17k views

How to create reverse-lookup file for BIND that points to some networks?

I am try to create a reverse-lookup file in BIND, but I need it to point to many networks not just one. I have three networks that connected to the same bind server, 192.168.3 and 192.168.4 and 192....
0
votes
1answer
62 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
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/...
0
votes
1answer
539 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-...
0
votes
1answer
133 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 ...
0
votes
1answer
576 views

Package 'bind9' has no installation candidate

I'm tying to install dns sever on ubuntu 14 , I get the error (Package 'bind9' has no installation candidate) and the get update command is not woking
0
votes
1answer
58 views

Tool for analyzing DNS config

I have made dns using bind. Can someone recommend me some tool that I can paste the code in to test for errors?
0
votes
1answer
289 views

Two local address listening on same port?

How is it possible that netstat -a | grep 8081 shows this: localhost.8081 *.* 0 0 49152 0 LISTEN *.8081 *.* 0 0 49152 ...
0
votes
1answer
399 views

Checking if BIND was compiled with dnstap support

I need dnstap support in BIND, for doing some debugging to the queries answers, and possibly statistics in a very near future. How to check if in Debian9, the bind9 package was compiled with support ...
0
votes
1answer
185 views

Sound not working when mounting on /home

I have a Debian/Windows 10 dual boot system with a shared Data partition that I mount on /home. The problem is: if I mount anything on /home or on /home/$USERNAME, sound does not work anymore. (See ...
0
votes
1answer
39 views

Forwarding website traffic to different server with bind

I host a website that will be moving to a different domain that is hosted on a new server. The new domain is subdomain.newdomain.com. The site is currently hosted at currentsite.com on my servers. I ...
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 ...
0
votes
1answer
169 views

Bind RPZ config with domains of various levels

I use RPZ to blacklist some domains and my configuration looks like: *.com A 127.0.0.1 mydomain.net A 127.0.0.1 if i query a whatever domain .com it works correctly giving me 127.0.0.1 let's ...
0
votes
1answer
24 views

Does bind depends on system DNS settings for lookup?

My understand of bind in handling non-authoritative queries is: forward mode. It just forward the client queries to an upstream DNS server, which is defined in "forwarders" directive. recursive mode. ...
0
votes
1answer
1k views

rsyslog sending data to remote slows down when $AddUnixListenSocket is used?

I'm running a busy DNS server which logs queries to a remote server via rsyslog. Due to the amount of traffic we're processing I've had to increase the rate limits in rsyslog.conf. This server is ...
0
votes
1answer
98 views

Reverse DNS for external DNS server

I have my forward zone configured and now I am writing my reverse zone configuration. I've read through Pro DNS and BIND book and the examples given are if you own a portion of an IP address space a.b....
0
votes
1answer
42 views

Is it Possible to Define Two Name Servers and a HTTP Host in a Unix-Based Server With Only One Static IP Address

Is it possible to define two globally name servers (ns1.example.com and ns2.example.com) on the same server, with an static IP (e.g., 99.99.99.99), that hosts the HTTP through port 80. Why Am I Not ...
0
votes
1answer
2k views

BIND as a Private Network DNS Server - Getting REFUSED

I've setup named to act as a local dynamic dns server on my private network with dhcpd. All is working. The only thing that bugs me is that I'm getting REFUSED when querying hostname that doesn't ...