Questions tagged [named-conf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

using include in named.conf returns file not found although the file does exist

I have a named service running fine but when I try to use an additional "include" statement, it doesn't work. I'm using Linux Server, and I have the same problem in CentOS and AlmaLinux. I ...
David's user avatar
  • 1
0 votes
0 answers
212 views

bind9, named not accessible over local network behind router ubuntu 20.04

i have a zte F6600R router from my isp provider with following configuration DHCP SERVER : ON LAN IP ADDR : 192.168.1.1 SUBNET MASK : 255.255.255.0 DHCP start IP : 192.168.1.10 DHCP end IP : 192.168.1....
Andrei Claudiu Viziru's user avatar
0 votes
0 answers
101 views

Disable IPv6 dbug logging in BIND

Using BIND on Arch. I have /etc/named.conf only containing include "/var/named/named.conf" where named.conf is: include "/var/named/named.conf.options"; include "/var/named/...
Err488's user avatar
  • 1
0 votes
0 answers
73 views

How to stop bind to do a separate CNAME query again?

I have a local DNS server like the following: client -> bind (only handle local names) -> dnsmasq (handle other names) This problem is when a name is a CNAME, dnsmasq return both CNAME and IPs, ...
Hoping White's user avatar
0 votes
1 answer
54 views

Using custom nameservers

In Godaddy I have a domain example1.com and www.example1.com with valid A record to my Centos 7 server's IP. I 've created hostnames for that domain, ns1.example1.com, ns2.example1.com with the same ...
Michael Chourdakis's user avatar
1 vote
1 answer
559 views

named-checkconf throwing error on previously functioning forward zone file

I wanted to add a zone to my bind9 configuration (BIND 9.16.1). I have about 20 domains serviced by this name server, most of which have worked for > 10 years. named-checkconf is throwing errors on ...
David's user avatar
  • 81
0 votes
1 answer
260 views

reverse nslookup attach arpa zone to response

I have an issue that some reverse (PTR) resolution reattach in-addr.arpa zone to response.This is something wrong in the named(bind9) configuration. Now is : command : dig -x 10.1.1.107 @dns_server_ip ...
popeye33's user avatar
0 votes
0 answers
3k views

Failed to start Berkeley Internet Name Domain...S). Centos7

I'm new to linux environment and trying to build a web hosting server for my few webistes. But my name servers are not pointing towards my server. I red many articles on many forums and used this ...
Planet_Server's user avatar
1 vote
1 answer
2k views

BIND - list of forwarders used on several zones

I am setting up a BIND (v9.16) nameserver. Its main purpose is to work as a regular recursor for our internal hosts. For a couple of specific zones though (the ones that we host), I need to set it up ...
Patrick Aszody's user avatar
2 votes
2 answers
4k views

named/bind is refusing to serve some domains after resolving them itself

Why is bind refusing some of my queries? This only happens for certain domains. A query through named fails: $ dig -t A fedoraproject.org @127.0.0.1 ;; ->>HEADER<<- opcode: QUERY, status: ...
Matt Clark's user avatar
0 votes
0 answers
2k views

Bind - how to proxy DNS requests to another server (static-stub/forward type not working as expected)

How do I proxy DNS requests from bind9 to acme-dns? Here is my named/bind9 configuration file options { directory "/var/cache/bind"; auth-nxdomain no; # conform to RFC1035 ...
Sairam's user avatar
  • 209
0 votes
1 answer
485 views

Bind9 forward top level domain

Hi all just starting working professionally with bind9 and dns, say I have an AD/DC server (with dns) running on internal.com but my bind9 is authoritative for sub.internal.com can I do a forward zone ...
daz249's user avatar
  • 1
1 vote
1 answer
5k views

Bind: query (cache) './ANY/IN' denied - is it a DDos attack?

My syslog is getting floated with messages like Jan 12 11:09:25 xxx named[902]: client 74.74.75.74#47561 (.): query (cache) './ANY/IN' denied Jan 12 11:09:25 xxx named[902]: client 74.74.75.74#47561 (....
gooleem's user avatar
  • 113
0 votes
1 answer
507 views

bind 9.11 - Need assistance with configuration

I'm replacing a RHEL6 server that runs, among other things, bind/named, with a RHEL8 server. As part of this, the bind version updated from 9.8 to 9.11. I'm not a bind wiz in any way, but I ...
Egyas's user avatar
  • 185
0 votes
1 answer
716 views

Creating multiple log flows for named

I am in the process of rolling out external DNS servers to resolve all end user queries Before we can move the solution into production I would like get as much useful logging in place as possible ...
Dunner1991's user avatar
0 votes
0 answers
668 views

Configure Reverse DNS in Primary and Secondary BIND DNS Servers for same subnet

I have two DNS Servers (Let's say A and B). A configured as the primary/master for the domain example.com and B configured as the secondary/slave for the same domain. B configured as the primary/...
Damith's user avatar
  • 109
0 votes
2 answers
2k views

MX record in a reverse zone

I am taking a DNS course on Linux Academy. In one of the lab, they define a reverse zone. In this zone they add MXs records. Does it make sense to have MX record defined in a reverse zone? Details: ...
scoulomb's user avatar
  • 105
2 votes
1 answer
336 views

Change TTL for DNS entries on a SUSE Linux Enterprise Server 15

.. preferable without YAST. I am about migrating several services from a SUSE enterprise server to Ubuntu. I "found" two DNS related files: /var/lib/named/master/domain with the forward lookups. /...
Jürgen Gmach's user avatar
0 votes
1 answer
7k views

ACL conditional zone in Bind9

I'm trying to apply "restrictmoderate.youtube.com" only for kids and let the others access the standard "youtube.com", using Bind9. # cat named.conf include "/etc/bind/named.conf.options"; include "/...
Sebastien Damaye's user avatar
0 votes
1 answer
134 views

BIND cannot see local client PCs and vice versa

I'm trying to configure bind9 DNS to make it usable for my tiny network of windows PCs in order to create Active Directory DC on samba. For some reason I am getting "ignoring out-of-zone data" for ...
domaniqs's user avatar
0 votes
1 answer
2k views

Two domains in one DNS zone file

I manage an authoritative DNS server for my organizations DNS. We recently purchased additional domain names which end in a different domain than the one my organization has. For example, my ...
Mike Glassman's user avatar
3 votes
1 answer
7k views

Bind Set Port for Forwarders

According to http://www.zytrax.com/books/dns/ch7/queries.html#forwarders the port can be specified after the address. However when i try to set it to forwarders { 127.0.0.1 2053; } named-...
MagiiTech's user avatar
1 vote
1 answer
4k views

Resolve specific Domain query using View in BIND9 (Forward)

I am trying to setup a whitelisted domain forwarder in my bind9 but it wasn't successfully accomplish maybe due to the configuration that I applied. A couple months ago, I did setup the same ...
Shann's user avatar
  • 111
5 votes
2 answers
198 views

Malware DNS A record points to my ip address

I've used BIND for about ten years but am by no means an expert, at all. Having said that, I just wiped my VPS due to a crytomining malware infection. While I was getting BIND set back up I noticed ...
matzhu's user avatar
  • 51
0 votes
0 answers
1k views

Named - Log NXDOMAIN queries at the server?

I've been scouring the internet for an answer to this - being new to setting up DNS, I can't believe that there's not a clear option for this. All I'm trying to do is have named write to a log each ...
Locane's user avatar
  • 429
-1 votes
1 answer
9k views

DNS error named.service: control process exited, code=exited status=1

I am using Centos Web Panel, everything was just working like it normally should... However the Bind DNS just stopped working out of nowhere. Here is the error code provided: ● named.service - ...
OD Applications's user avatar
0 votes
1 answer
2k views

Is it correct BIND9 configuration for my external DNS zone?

My file with zone My /etc/bind/db.piduna.org ; ; BIND data file for local loopback interface ; $TTL 604800 $ORIGIN piduna.org. @ IN SOA ns1.piduna.org. root.piduna.org. ( ...
Piduna's user avatar
  • 571
0 votes
1 answer
207 views

Configure simple named DNS server

for a test setup of a software application (with apps, specific hardware and so on) i need to route an public existing domain to an internal server instead of the public server. I would do this with a ...
CodeNinja's user avatar
  • 325
0 votes
2 answers
1k views

Create DNS for a wilcard subdomain that is localhost

I'm trying to create DNS for wildcard subdomains that run on localhost. It's not working. The main domain is fine but the sub domains are pointing to an external server instead. Here's what I have: ...
Asa Carter's user avatar
-1 votes
1 answer
823 views

ubuntu 14.04 Bind DNS does not work from outside for some of my domains

I have 2 bind9 server NS1 & NS2 with 4 zones for my websites and they worked but some day I find that they just resolve 1 of my domains and not resolve other domain . in my network they do well ...
Siavosh's user avatar
0 votes
3 answers
2k views

View match-clients works only with subnet, not with single IP address

I'm running Bind on OpenWrt 15.05.1 as DNS server. I wanted to set up multiple view, with different zones. acl "trusted" { 10.0.1.0/24; localhost; localnets; }; acl "...
user avatar
3 votes
0 answers
3k views

Bind9 will not serve txt records for some domains and will serve it for others [closed]

As from the title, bind9 won't serve txt records for one domain, and serve it for others. the zones are almost equal. System Ubuntu 14.04 Bind9 from the distribution (tried 9.10 from sources too) I ...
Marco's user avatar
  • 1,709
0 votes
1 answer
1k views

BIND: zone transfers with views configured not working

We use bind 9.8.2 on RHEL 6 servers. I have setup 2 test DNS servers using views. One is master one is slave. I have 2 views, one for "internal" and one for "external". Everything seems to work except ...
user53029's user avatar
  • 649
1 vote
2 answers
398 views

Trying to use sed to edit named.conf and add some DNS forwarders but can't?

Trying to replace all the forwarders with new ones but I can't seem to the pattern matching to work. I can't see the mistake for the life of me: sudo sed -i .bak "s/forwarders {[^]]*}/forwarders { ...
unom's user avatar
  • 281
0 votes
1 answer
464 views

Order in which Resource Records(RR) are answered by Bind if Order and preference are Same

I had a query on how the following Records can be ordered on how the Records are configured in the Zone file I have done 2 different Tests I have configured following records in the Zone file ...
Harshith Mulky's user avatar
0 votes
2 answers
10k views

With BIND 9 how can I match-clients in multiple views?

BIND appears to be looking at the configuration file from top-down and assigning queries to the first matching view based on match-clients. According to http://www.zytrax.com/books/dns/ch7/view.html ...
user avatar
1 vote
2 answers
3k views

BIND Slave Unable to Receive Zone Files--SERVFAIL

I've been banging my head against the bind manual and google for a few hours tying to get this figured out, but I'm not sure where I'm screwing up. I built this on a few local VM's, and the slave ...
jcoughlin's user avatar
1 vote
1 answer
499 views

Sync secondary name server zones to primary server

I have two servers with Plesk, unfortunately I'm not a pro, so sorry if my question is stupid. The first server functions as a primary server with with many domains. Before that this server was the ...
JunaBo's user avatar
  • 13
2 votes
0 answers
2k views

BIND9 logging into file

I want to change the logging behavior of Bind9 on my server (Ubuntu 14.04.4 LTS). I found a intuitive manual for this here: Help.Ubuntu. In their example they only changed the logging behavior for ...
Stefan Wegener's user avatar
0 votes
1 answer
2k views

Recursive forwarding Bind DNS server not answering from cache

Problem Statement I have a bind caching and forwarding server that is functioning almost as expected. All queries are forwarded, their TTL is cached. At first blush, everything appeared normal ...
Aaron's user avatar
  • 2,859
2 votes
2 answers
1k views

The right way to set up master and slave nameservers

I'm wondering about the proper way to set up a master and slave DNS. I read somewhere that your master DNS server should not have an NS record in your zone file - that's sort of secret and then your ...
Jon A's user avatar
  • 121
3 votes
1 answer
2k views

DNS Slave server default limits on transfers?

We have a slave dns server that has been working fine for 2 years. Today we got reached over 100 zones and the slave gives us this error message on the last 2 domains Sep 15 20:27:19 ns1 named[992]: ...
CD Brian's user avatar
0 votes
1 answer
1k views

CentOS 7 (1503) - BIND9 new install not responding to external DNS requests

I am trying to set up an authoritative BIND server and every time I run into the same problem on CentOS. I can run the dig command locally for zones on the server however when I run nslookup - ...
ZZ9's user avatar
  • 918
1 vote
3 answers
7k views

How can I start named in IPv4 mode using systemd?

How can I configure my Ubuntu 15.04 bind9 to stop resolving queries with IPv6? TL;DR I'm using bind9 on my Ubuntu 15.04 machine. It seems like my named server is trying to resolve alot of queries ...
Civing's user avatar
  • 183
3 votes
1 answer
17k views

BIND dns high performance caching

I'm running bind on a small server used for resolving lots of domains, my main goal is fast resolving of domains and low memory usage. I want to use something like local zone with the nameservers of ...
Yoan Arnaudov's user avatar
2 votes
1 answer
3k views

how to disable forwarder in freeipa servers named.conf

My IPA server's named.conf has this in it since I chose to enter a forwarder address during the ipa-server-install. forward first; forwarders { 132.206.44.21; 132.216.44....
Jesse Stacey's user avatar
0 votes
1 answer
1k views

Trying to set PTR on CentOS 6.5

For the last 6 hours I've been trying to set a PTR for my server but I with no luck. Checking with host give me: Host 44.244.208.173.in-addr.arpa. not found: 3(NXDOMAIN) My /etc/named.conf includes ...
CGeorges's user avatar
  • 135
1 vote
3 answers
4k views

Bind/Named DNS server on ISPConfig sometimes working [closed]

I have Installed preconfigured system with ISPConfig panel on VPS server. When I create DNS zones and configure them, server work for some time then for some time timeouts and global dns (like 8.8.8.8)...
Gacek's user avatar
  • 1,231
0 votes
1 answer
60 views

Bind and redirection of clients

Is there any possibility to suggest clients to use a different DNS server to resolve particular domain names? For bind not just forward the query to this server, get the response and serve it to the ...
Neurotransmitter's user avatar
0 votes
2 answers
506 views

Debian Wheezy, bind and generic config with views

I'm struggling for a last couple of days to make my bind work. I believe, it have a very generic config, but somehow it won't serve a proper IP of my server to local clients, when the domain name is ...
Neurotransmitter's user avatar