Server :: Best Script For Managing Bind?

Feb 22, 2011

Currently i using webmin,but it missing some important things like $variable -where $variable would be automatically replaced with added domain,and it's kind a strange since plugin for managing other dns server on webmin does that. Also i was not able to generate 100% correct all records,only partial,which make it useless since i was need to fully replace it anyway.So can someone recommend any script/tools for it?I would be even happy with combination of batch tools(which might be even best solution since then i would not need to bother with installing script). How my dns records look:

PHP Code:
$ttl 38400
@    IN    SOA    ns1.nameserver.com. root.localhost. (
12520521667
7200
7200
604800

[Code]...

View 1 Replies


ADVERTISEMENT

Server :: What Is Bind Vs Bind-chroot Vs Caching-nameserver?

Jul 8, 2011

what is bind vs bind-chroot vs caching-nameserver ?what is the different between eatch others ?

View 7 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

CentOS 5 Server :: Best Practises For Managing Software Raid Arrays?

Jun 10, 2011

With mdadm was only able to add a new drive to the using the --force function. I do not feel comfortable with using the function that way though.

When I remove a disk in VMWare, it perfectly says that the drive is lost and the array is degraded (mdadm --detail /dev/md0). Although after re-adding the drive, it immediately shows device as busy for both mdadm and sfdisk when I don't use --force.

Recovery and repairation of degraded array worked fine with sfdisk --force, mdadm --add --force, it automatically started recovering and took not so long.

What are best practises to manage software raid-1 arrays?

View 1 Replies View Related

Server :: Delay Pools - Managing Internet Bandwidth Thru Squid Proxy

Jan 2, 2010

I have configured a normal squid & now I want to manage internet bandwidth thru. "squid" proxy only.
Squid proxy server ip is :- 192.168.17.30
Client PC ip addres is 192.168.17.25
Total bandwidth avaialable :- 2 Mbps
Now, I want to limit bandwith of 400 kbps for the ip address 192.168.17.25 pc only. So, is there any method available for bandwidth limiting for a single pc?

View 2 Replies View Related

Ubuntu Servers :: Home Web Server - Cant Set Up Apache As Named Server Using Bind DSN

Dec 7, 2010

I and setting up a home web server using Ubuntu 10.04 server (local only). I am currently using Webmin 1.53 to access it remotely all is going great very easy to use. Webmin - Check, ftps-fileZilla - Check, Apache -It Works BUT I cant seam to set up Apache as a named server using Bind DSN. Tried most of the help in the fourms and ..... I think my problems is in the master server selection, do i have to use [URL]... or can i just use myservername. I have tryed both with no luck. First time with the server addition.

[code]...

View 6 Replies View Related

Networking :: Creating Domain Name In Bind Exposing Bind To Internal Network

Sep 3, 2009

I am configuring bind9 on fedora 9(sulphur).I have configured /etc/named.conf and created zone file in /var/named/I have started the service but when I am executing the command nslookup mydomain.com it is not able to resolve the name.Another problem I am facing when I do telnet localhost 53,I am able to connect.but when I do telnet myip 53 it does not connect.Seems to be a firewall problem but I ve disabled iptables selinux completely even I ve disabled dnsmasq but still not working.

View 1 Replies View Related

Server :: BIND Server Test Not Answering Authoritatively?

Jun 14, 2010

I have a BIND server that I'm setting up with different views. There is another server out on the public Internet that currently handles all inquiries for this domain. I had installed the Yum packages, chroot, etc. and edited the config files by hand. When that didn't work, I erased the server and started over using Webmin to build everything for me. Same result. I want to setup and verify everything is working on this new server before I take it into production.This is in /var/log/messagesQuote:

Jun 13 21:33:20 dns1 named[13838]: starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 -u named
Jun 13 21:33:20 dns1 named[13838]: adjusted limit on open files from 1024 to 1048576

[code]...

View 13 Replies View Related

Server :: Configure Address Of Next Level DNS In BIND Server?

Sep 24, 2009

I need to know how to configure the address of the next level DNS server in my BIND server. im in a FEDORA 10 system.

View 3 Replies View Related

Server :: Bind Windows Xp Machine To Domain Server?

Jan 17, 2010

I want to join standalone windows xp machine to Linux Domain (Redhat 9)..

View 3 Replies View Related

Server :: Bind ** Server Can't Find Example.com: NXDOMAIN?

Jun 26, 2011

I'm trying to setup DNS server. But i'm getting this strange problem.normally nslookup and workin for other sites.problem only with my local setup. can't see what i'm doing wrong.i've had setted up DNS server before but had no problems.can't see any solution on google.

So...
centos 5.6
bind 9.7 (from repository)

[code]...

View 2 Replies View Related

Server :: BIND Server No Longer Working

Jun 8, 2011

I am still quite new to all this but I guess we were all beginners once, this forum seems very helpful.Here is my situation, I will give as much detail as I can.I have a dedicated server which is running CentOS release 5.5.Initially I had Plesk installed, but when I upgraded PHP I damaged the Plesk configuration, and so I installed Webmin instead.

All seems to be fine with this, apart from the DNS configuration / BIND server.I know this because I have one site which uses an external DNS server and this works fine (i.e I can access it from a browser). All the others don't resolve - i.e the ones I set up in Plesk.I've done a bit of investigating to see what is going on, but I'm stabbing in the dark a little.

View 12 Replies View Related

Server :: CentOS BIND Local DNS Server

Nov 28, 2010

I've been looking for a good tutorial for setting up a BIND DNS server for my local network. What I want to do is..Have BIND running on my home server receiving all DNS requests.Have certain zones (my.zone.lan) pointing to custom IP addresses (I.E. server.lan points to 192.168.{server IP})Zones that don't exist should be passed on to OpenDNS for processing.

View 6 Replies View Related

Server :: Client Computer Not Dig Bind Server?

Jul 28, 2010

I have configureed Bind in a Linux box. Well pc1 i.e "pc1.mydomain.com" is my client machine and main server is the computer in which bind is install.The client computer pc1 and the main server (Bind server) i.e FQDN "mainserver.mydomain.com "are on the same network.from client machine i can't resolve the name to IP address as my server do successfully with client. The /etc/resolv.conf file in my bind server is as

Code:
search mydomain.com
nameserver 192.168.1.254
The named.config it main configuration is as below
Code:
zone "mydomain.com" IN {

[Code]...

View 6 Replies View Related

Server :: How To Install Bind Server On RedHat 5

Apr 26, 2010

How to install step by step to install bind server on RHEL 5.

View 3 Replies View Related

Fedora :: Make A Dns Server Using Bind 9.5.1 In 10?

Jan 8, 2010

I want to make a dns server using bind 9.5.1 in fedora 10 but i 've got this following error when nslookup.

Quote:

nslookup admindevice1.fmipa
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find admindevice1.fmipa.dns.fmipa: SERVFAIL

this is my named.conf

Quote:

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS

[code].....

but when i start bind and try my dns i got a wrong ip for both ns and admindevice1.

View 2 Replies View Related

General :: Use Of Bind & Cache Pkg In DNS Server?

May 11, 2010

what is the use of bind & cache Pkg in DNS server is it posssible to configure DNS without cache & how

View 2 Replies View Related

Server :: Hostname Configuration On BIND

Jan 2, 2010

I have read a lot of documentation but it is still hard to find a proper answer to my doubts.About the hostnames in a domain, how is it associate to a determinated port?

For example, when I type on the browser webmail.sparc86.net and then I get redirected to the port of 20000 of this same domain. Fine, but how does it work that it knows it should be redirected to the port 20000? From where is this information (the association webmail-port 20000) taken? The apache will manage this, right? But what about other services like ftp?Another example, If I wrote my own software listening, let's say on the port 40000 and I want to have a domain like "mystuff.sparc86.net" how would I let it be redirected to the port 40000 ?

View 1 Replies View Related

Server :: Bind Not Working In Centos?

Jul 29, 2011

i am trying to run bind in centos 6 and bind keeps giving me errors every time i check all of the configurations. the named.conf file works fine but the zone files keep giving me errors heres the contents of my named.conf file

Code:
options {
directory "/var/named";
listen-on port 53 { any; };
allow-query { any; };

[Code]....

View 4 Replies View Related

Server :: BIND Refuses Queries ?

Feb 15, 2010

I am currently running the latest version of Bind, and for some completely unknown reason I can NOT get queries to work for PTR records. All queries to the servers for reverse name lookup get query denied:

Using domain server:
Name: 66.150.173.1
Address: 66.150.173.1#53
Aliases:

Host 27.173.150.66.in-addr.arpa not found: 5(REFUSED)

And it shows in my logs:

I am at my wits ends with the piece of crap. Can anyone shine some light on why this damn Bind install won't respond to these queries?

For reference here is my named.conf:

Code:

View 15 Replies View Related

Server :: Calculate BIND Query Per Second?

Jan 4, 2010

I am working one project and i want to know that is it possible to find out the DNS (BIND) QPS (query per second). I mean how many QPS BIND can handle.

View 2 Replies View Related

Server :: Can't Bind To Address 0.0.0.0:80, Driving?

Jul 22, 2010

I'm using xubuntu 9.10. NOT ubuntu server. I need to install a lamp server on my box. I cannot install a new OS like ubuntu server, have to use what I got.when I run apache2, I get:

Quote:(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down Unable to open logs I've changed the port that php listens too to 8080, 81, and I get the same message but with the new port number.

I've removed and installed apache three times, read all kind of threats on the web, but cannot find the solution! it's just driving crazy.

View 3 Replies View Related

Server :: How To Configure Bind On RHEL 5

Mar 3, 2011

I am a newbie in configuring linux servers. Can I have an easy step-by-step walkthrough for bind 9 with chroot on RedHat enterprise 5 .

View 3 Replies View Related

Server :: Install Bind In Dns And Dhcp And Dc?

Mar 27, 2010

I am at first stage of installing dns after installation of redhat 5 am unable to install any package like yum install bin* and yum install cach* and it displays no match for afgument and nothing to do what could be the problem with my redhat installtion and what should i do for this type of problem and explain me how to install bind in dns and dhcp and dc.

View 3 Replies View Related

Server :: Loading Sata_promise Before Md: Bind?

Aug 21, 2010

I am trying to set up a raid set on my computer but I have run into a small problem. it seems that the sata_promise driver is not loaded until after the md: bind has been performed. This means that my raidset will be missing some of it's discs and fail to start.

Is there any way to have the sata_promise drivers load earlier in the boot process?(more details can be found in my other post)

View 1 Replies View Related

Server :: Odd Bind Behavior With Wildcards?

Apr 18, 2011

I've got an interesting problem when it comes to wildcard entries in bind. If I put the following in:

qa.express IN A 172.16.0.10
* IN A 172.17.1.156

If I then look up "express.example.com" it doesn't return an answer - it *should* return 172.17.1.156, but it won't unless I put that hostname in specifically. qa.express.example.com resolves as expected.

View 3 Replies View Related

Server :: Running BIND In Opensuse 11.2

Jan 2, 2010

I just download OpenSUSE 11.2 x86-64 distro. I installed it. No problem.

I run bind but i cannot start named. Other server services were running well.(dhcp, squid, apache2....)

I cannot start bind only.

View 1 Replies View Related

Server :: Set Up BIND In A Non Domain Environment?

Nov 23, 2010

I am setting up a new infrastructure which led me to install BIND in a non active directory (new) environment.
With that stated I don't have any .com nor any domain setup so im unable to dig my network domain; Im only operating via workgroup.
Is it still possible to setup BIND dns even though I dont have a domain (i.e. csaa.com, csaa.net...etc) setup?
Reason being is I want to be able to ping host names/connect through host names and able to resolve then using BIND as my main name server.

View 1 Replies View Related

CentOS 5 Server :: Install Bind 9.7 In 5.6?

Jul 15, 2011

How to install bind 9.7 in centos 5.6 if i installed using yum means, its defaultly installing 9.3 version.

View 2 Replies View Related

Debian Installation :: Can't Upgrade Server After BIND / Fix It?

Mar 31, 2011

Today I saw that there was an update available for my LAMP server that involved BIND.
So after I ran an apt-get upgrade i got the following big stack of messages ending sadly with error and I cannot upgade the of "fix" the system after that. Any Ideas? code...

View 5 Replies View Related







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