Server :: BIND9 Conf And Zone Files?

Sep 20, 2010

The thing is, I've created a new local zone here (called "local.lan"), and, aparently, it is working fine, and DHCP3-SERVER is updating DNS info through the controls.But sometimes I get some strange answers from the server, like when I do the "arp" command in one of the clients, and get the server's hostname "mixed" with it's own reverse, like this: "dns.local.lan.2.168. | ether | 00:02:1e:f5:61:74 | C | eth0". Other thing is that sometimes my DNS don't update when a computer "enters" the lan. In the /var/log/syslog the DHCPOFFER appears, but the information about the DNS update isn't there.So, I would like to show you my named.conf file and my local zone db file, and get some feedback from you (what would you change... what is wrong...).

# ------------------- #
* named.conf:
# ------------------- #

[code]....

View 17 Replies


ADVERTISEMENT

Red Hat :: Role Of Zone Files In Bind9 Dns?

Dec 20, 2010

i am trying to setup a minimal bind9 dns on RHEL5.in /var/named/chroot/var/named/etc i have following files,after installing bind and caching-nameserver:

localdomain.zone
localhost.zone
named.broadcast

[code]....

View 3 Replies View Related

Software :: Bind9 Dynamic Zone Not Reloading?

Apr 13, 2010

I have a dynamic-dns setup that updates from DHCP. In my reverse zone file, I have some mappings that are more or less static (as in, outside of the DHCP range that updates to dhcp-<ipaddr>.domain.tld)

When I add new records to this zone and then reload the zone file (making sure to update the serial number), the name server still does not serve these new records. For example, I might add the following to my 168.192.in-addr.arpa. zone under the $ORIGIN 25.168.192.in-addr.arpa. section:

Code:
45 IN PTR new-host.example.tld.
I then proceed to try:
Code:
rndc reload
/etc/init.d/bind9 reload

[Code]....

View 1 Replies View Related

Ubuntu Servers :: Bind9 Errors: Unknown Option 'zone'

Aug 11, 2010

I am trying to get bind 9 up and running on a new installation of server 10.04 and keep getting errors when starting the daemon -

* /etc/bind/named.conf.local:19: unknown option 'zone'
* /etc/bind/named.conf.local:20: unknown option 'zone'
* /etc/bind/named.conf.default-zones:3: unknown option 'zone'
* /etc/bind/named.conf.default-zones:11: unknown option 'zone'
* /etc/bind/named.conf.default-zones:16: unknown option 'zone'
* /etc/bind/named.conf.default-zones:21: unknown option 'zone'
* /etc/bind/named.conf.default-zones:26: unknown option 'zone'

The onlything I could find after scrubbing the internet is once ina while there's a missing bracket. But I have checked and triple checked my config files and the syntax and can't find anything wrong. I have another installation of bind9 running on Fedora and the same exact syntax works just fine.

[Code]....

View 2 Replies View Related

Debian Configuration :: DDNS (dhcp+bind9) - Wrong PTR Records In Reverse Zone?

Jun 3, 2011

I've configured my dhcp server to update dynamically the DNS zones of BIND9 name server. Everything works ok, except for reverse nslookup:

nslookup 10.141.50.3
Server:127.0.0.1
Address:127.0.0.1#53

[code]....

View 2 Replies View Related

Ubuntu Servers :: Bind9 Views - Reverse Lookup Zone Doesn't Work ?

Apr 1, 2011

I'm at a loss to why my reverse lookup zone doesn't work for me.I've got two views. One internal and one external. My domain is isp2.datornatverk.se. Public IP: 130.240.133.81.

dig -x @8.8.8.8 130.240.133.81

gives me:

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2917
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

I've set it up so that the internal subnets gets the domains resolved to the internal IP-addresses. When querying from external addresses I will get public IP.My named.conf.local file:

Code:
acl internals {
127.0.0.0/8;[code]..........

I don't know whether the views has messed something up. It worked before I added the views.

View 3 Replies View Related

CentOS 5 Server :: Loading Multiple Virtual Host Conf Files From Httpd.conf?

Jun 1, 2009

I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:

In my httpd.conf file, at the very end, I have the line

Include conf/vhosts/vhost_*.conf

However, when I run apache checkconfig or try to start apache, it gives me the error:

httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied

It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.

View 3 Replies View Related

Server :: Bind9 Config Files: Leading Whitespace Requirements?

Apr 19, 2011

Is leading whitespace significant in bind9 config files? This reverse lookup file (/var/chroot/bind9/etc/bind/zones/rev.168.168.192.in-addr.arpa) did not work; /var/log/messages had "zone 168.168.192.in-addr.arpa/IN: has no NS records".Inserting 3 spaces before IN in the NS line fixed it:

Code:

; IP Address-to-Host DNS Pointers for the 192.168.168.0 subnet
@ IN SOA CW8vDS.localdomain. hostmaster.localdomain. (
2011041901 ; serial
8H ; refresh

[code]...

Reading the man pages and netsearching, I did not find anything about indentation requirements except for "This is usually indented for readability, but the indents are required syntactically" here.Although the above file works, named-checkconf reports an error in it:

Code:

root@CW8vDS:/var/chroot/bind9/etc/bind/zones# named-checkconf rev.168.168.192.in-addr.arpa
rev.168.168.192.in-addr.arpa:1: syntax error near ';'

but named initialisation does not log any errors or warnings in /var/log/messages when processing this file except "/etc/bind/zones/rev.168.168.192.in-addr.arpa:2: no TTL specified; using SOA MINTTL instead".

View 10 Replies View Related

Debian Configuration :: Preferred Resolv.conf Fix For Bind9?

Dec 30, 2010

I "fixed" my Lenny home server bind9 configuration because my resolv.conf was always overwritten loosing configuration. The fix involved adding the following to /etc/resolvconf.resolv.conf.d.base.

##base file at /etc/resolveconf/resolveconf.d/base
nameserver 127.0.0.1
nameserver 192.168.1.4

[code]....

View 1 Replies View Related

Server :: Script For Managing SOA Serial In Zone Files

Feb 25, 2011

Here's a little tool that does this:
Without arguments, updates the SOA serial in a zonefile to the current date. If the date was already updated, just updates the revision number (incrementing up to 99, and then again 01). Uses RFC 1912* recommended format.
With $1 == <two digit number>, auto updates (if necessary) just the date part and uses your provided revision number.
With $1 == <eight digit number>, uses that as a date (no validation of any kind), and just auto update the revision number
With $1 == <full serial>, will just replace whatever the serial is with the provided serial, without any validation

* YYYYMMDDRR (4-digit year, 2-digit month, 2-digit day of month, 2-digit revision number)
This script + keeping SOA/NS/MX/CNAME RRs in a common file $included from other files with $ORIGIN and A/PTR/TXT RRs, made everything way easier to manage, enabling me to script some zone switchers, automatic failover/redirection of DNS on WAN changes, etc, etc. I think this stuff might be cool to integrate with something like this script and make nice CLI toolset for bind. Looking forward to implement it.

Code in pastebin
Code:
#!/bin/bash
# globals
script_name="${0##*/}"
script_dir=$(readlink -f "${0%/*}")
script_version=1 .....

View 4 Replies View Related

Server :: Configure Master / Slave Dns Using SSL Authentication While Transferring The Zone Files

Jul 11, 2011

In our Server they configure Master / Slave Dns using SSL authentication while tranfering the zone files, i dont have much idea about ssl authentication for Dns, how it will works

View 3 Replies View Related

Debian :: Cant Find Anything In Apache2.conf Or Httpd.conf Files?

Jul 25, 2010

phpmyadmin files are in usr/share/phpmyadmin but i cant find anything in my apache2.conf or httpd.conf files that point to that directory.How do I find the route taken from the Server root "ServerRoot "/etc/apache2"" to the phpmy admin files.

View 5 Replies View Related

Server :: Deploy Updated .conf Files On Multiple Workstations?

Apr 28, 2011

we're about to migrate a set of workstations (ubuntu 10.04 LTS) to a new kerberos/LDAP setup. Basically, this requires the installation of some required deb packages and to copy some new .conf files over the original ones.We made a deb package having these "features":requires the needed other packages as dependenciesbacks up original conf filescopies the new conf files to the right places (i.e. /etc/krb5.conf,/etc/ldap.conf)The problem is: apt-get complains because the deb is "touching" files owned by other packages (kerberos, ldap, etc.). Therefore, the only way to skip this check is either to force apt-get to proceed or using the "replaces" directive in the deb control file, specifying the clashing packages. omething like this:

Code:
Package: <package-name>
Version: 0.9.9

[code]....

View 6 Replies View Related

Server :: Insert IP Address In Configuring DNS Server Using Bind9?

Jul 10, 2010

especially to ubuntu server 8.04 because it doesnt use a GUI. Now my question is on how to insert IP address in configuring DNS server using bind9. Actually i'm using this guideBut i m not sure on how to insert IP addresses on the primary master and secondary master. Should I insert the Ip address that i found when i type ifconfig ? or Should I assign a new IP address.I have set up a webserver, DNS server, File server and mail server on a virtual box. For now, at first, im working with the DNS server or should I work with the web server first?what should I do?

View 1 Replies View Related

Software :: DNS Broken \ Does Not Appear That Any Of The Configuration Or Zone Files Were Changed?

May 26, 2010

I run BIND9 in Debian on my server, and did a dist-upgrade last night. Prior to the dist-upgrade, everything worked fine. It does not appear that any of the configuration or zone files were changed. Right now, I am seeing ServFail replies to the A queries:

Code:
13:00:26.496391 IP 10.7.21.12.45956 > 10.7.7.2.53: 39290+ A? int0x80.com. (29)
0x0000: 4500 0039 603c 4000 4011 aa5c 0a07 150c E..9`<@.@......

[code]....

View 2 Replies View Related

Server :: Set Up A Domain With Bind9?

Jul 9, 2010

I've tried reading several tutorials on setting up a domain name with bind9, but I've never managed to get one working.

View 7 Replies View Related

Server :: Setup Bind9 On Ubuntu Server 32-bit?

Jun 10, 2011

I have worked with servers before now, but not DNS nameservers and I would like help setting up Bind9 on my Ubuntu 11.04 Server.

View 7 Replies View Related

General :: BIND9 For Local Web Server?

Jun 10, 2011

I have a web server on my local network with a couple domains facing the internet. When I visit these domains from within the network I'm directed to my routers configuration page due to hairpin NAT.

So I installed BIND9 on the server and set up my forwarders to Google DNS to act as a Caching Nameserver. Then I set my routers DNS primary and secondary nameservers to the IP of the local BIND server. Everything is working great.

Now I need help configuring BIND so that the domains hosted on the web server within the network are routed to the web server and not the routers configuration page.

View 1 Replies View Related

Server :: Bind9 Log Full Of Localhost Queries?

Feb 24, 2011

I have my bind9 DNS server running on Ubuntu with logging on. What's bothering me is that I have log full of localhost queries instead of from IP of the computer which actually asked.DNS queries log:/var/log/named.queries.log

Code:
24-Feb-2011 16:01:19.413 client 127.0.0.1#38022: query: clients4.google.com IN A + (127.0.0.1)

[code]....

View 6 Replies View Related

Server :: Bind9 - SERVFAIL On Some Internal Domains Not Others

Jul 24, 2011

I'm running bind9 on Debian 6. I have a primary domain, 44kg.net, fully configured and working dynamically (the server also runs DHCPd and updates the DNS records properly).

[Code]....

To access my externally-facing website, which has a blog and a forum which are keyed to the external domain, I set up the domains in bind so they would resolve to the server's internal IP. This worked great for a few months, then inexplicably ceased working. I didn't touch anything, but it coincided with our router dropping its VLANs. I've moved the server to a different location and it's still not working properly. Whenever I try to lookup the external domains, I get SERVFAILs. This is annoying because the internal domain is fully working and I copied the basic settings.

[Code]....

View 6 Replies View Related

Server :: Chrooting Attempt Of BIND9 Failed?

Jun 18, 2011

I followed blindly this how to : [URl].. out of laziness and then for some reason bind9 didn't want to start. So I tried to apt-get remove it, but when I re-install it, it failed because

Code:
chgrp: cannot access `/etc/bind/named.conf*': No such file or directory
so I assume the chrooting stuff I did is in the way, but I know very little about chrooting and permissions ... how can I undo the following things I did :
Code:
/etc/init.d/bind9 stop

[Code]...

View 4 Replies View Related

Slackware :: Difference Between Files (xorg.conf And Xorg.conf-vesa)?

Feb 16, 2011

1. What is the difference between files (xorg.conf and xorg.conf-vesa)

2. No matter how hard I try I can't change keyboard layout in xorg.conf-vesa (I change it in file ) but there is no actually anything changing, it starts to get annoying - for example - below goes my xorg.conf-vesa, if I uncomment and set line from

[Code]...

View 3 Replies View Related

Server :: Bind9 - Setup To Get IP Address To Redirect To Domain

Oct 31, 2010

Location and syntax of named.conf in Ubuntu's version of BIND 9. I already have an HTTP server (in the form of Apache) along with forum software set up on my Acer netbook. However, the only way I can access the forum software is if I type in my IP address. How do I set up my named.conf to get the IP address to redirect to a domain? I already have my resolv.conf configured to allocate a domain to the IP address, but testing the ping of the site returns a "No such domain" error.

View 1 Replies View Related

Server :: Create A Zone File?

Nov 12, 2010

1.How create a Zone file
2.Named.conf file conf...
3.Dig check is not working......

View 1 Replies View Related

Server :: Zone Minder USB Web Cam Not Working?

May 24, 2011

I am wanting assistance with getting Zoneminder working under ubuntu 11.04.I have ran the install and setup the settings via http://ipaddress/zmadded the camera re instructions.I cannot view anything via Zone Minder.Cam is a Logitech Pro 5000

View 13 Replies View Related

Debian Configuration :: Setup A Bind9 Server For Home Network?

Mar 4, 2011

I'm trying to set up a bind9 server for my home network, I have all my IPs set to 10.0.0.X. I would like the forward and reverse to be simply "machinename", not "machinename.domain.com", as I don't want to type a domain everytime.

In my named.conf
zone "net.local" in {
type master;
file "/etc/bind/net.local.ns";
allow-update { none; };

[Code]...

View 1 Replies View Related

Ubuntu Servers :: 9.10 - Using Bind9 As DNS Server On LAN - Does Not Seem To Translate Its Own Hostname Correctly

Sep 8, 2010

Im using bind9 as DNS server on my LAN, but it does not seem to translate its own hostname correctly for some reason. Other hosts is translated correctly, the problem only seems to apply to the DNS host itself. if i "ping <server_hostname>" from the server, it translates correctly. But if i "ping <server_hostname>" from the client it only says "unknown host" The client has the correct DNS-server assigned. How can i start troubleshooting this?

[Code]...

View 3 Replies View Related

Server :: Bind9 Stop Working When Installed Postfix On Ubuntu 9.10?

Feb 28, 2010

I have a Ubuntu server running in my house.Server name UshaMain PC name HomeLaptop 1 Named BooLaptop 2 Names Bobevery one is running Ubuntu 9.10The server is running Bind9 and Samba and is working from any other PC i can type ping usha and it will give me teh ip address of the server.This has been working for 4 months now.I just installed PostFix and nowthe only PC that is working with i ping the name USHA "server name " Is the server.The other three pc come back with the IP address of the domain for USHA.I have removed the Postfix from the server but the DNS is still not working for the other pc on the network.Ho do I get Bind working again form the rest of the PC.

View 10 Replies View Related

Server :: How To Configure Reverse Zone For X.x.x.x/18 Subnet

Feb 24, 2011

how to configure reverse zone for x.x.x.x/18 subnet ,all the example on the internet are for /24 or /16 subnets?

View 9 Replies View Related

Server :: Can't Resolve MX Records - Zone File?

May 30, 2011

I am no expert when it comes to BIND. I seem to be able to resolve NS and A and TXT records for my domain, but I cannot get the MX records to come out. Does anyone have an idea what might be wrong with my BIND zone file? I wonder if it might have something to do with the fact that my IP is currently on a policy Block List?

Code:

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved