i had a webserver setup that worked perfectly, but due to circumstances i had to reinstall windows. so i reinstalled windows updated everything and installed bind again.
i configured it properly and the zone is also setup properly but when i try to connect to my url it wouldn't connect. so i did a dns lookup and i get SERVFAIL.
[www].dnswatch.info/dns/dnslookup?la=en&host=xeross.net&type=A&submit=Resolve
remove the [] from the url.
How can i solve this i reinstalled once again and it still doesnt work i forwarded all correct ports and added them to my firewall exceptions.
Attached are my named.conf, rndc.conf and my zone file.
I added .txt to the named.conf and rndc.conf so i could upload them.
zone "." IN { type hint; file "/var/named/named.ca"; };
I really don't get what's wrong here.
Quote:
Jan 7 15:57:57 viper named[27746]: client 208.98.31.253#58576: view localhost_resolver: received notify for zone 'thing2.opyum.us': not authoritative Jan 7 15:57:57 viper named[27746]: client 208.98.31.251#58576: view localhost_resolver: received notify for zone 'thing2.opyum.us': not authoritative Jan 7 15:57:57 viper named[27746]: client 208.98.31.254#58576: view localhost_resolver: received notify for zone 'thing2.opyum.us': not authoritative Jan 7 15:57:58 viper named[27746]: client 208.98.31.254#58576: view localhost_resolver: received notify for zone 'thing3.opyum.us': not authoritative Jan 7 15:57:58 viper named[27746]: client 208.98.31.251#58576: view localhost_resolver: received notify for zone 'thing4.opyum.us': not authoritative
The issue, summarizing it, is that none of the local domains are being resolved via the local nameservers. i get servfail. i can resolve other domains with no issues whatsoever. again it has no production impact, the dns works fine, dnsreport goes fine as well.
# host -t soa mydomain.com Host mydomain.com not found: 2(SERVFAIL)
in the zone record i got (192.168.1.1 is just an example, there i got my server IP): $ttl 38400 @ IN SOA ns1.mydns.com. root.ns1.mydns.com. ( 1161897964 10800 3600 604800 38400 ) @ IN NS ns1.mydns.com. @ IN A 192.168.1.1 www IN A 192.168.1.1 ftp IN A 192.168.1.1 mydomain.com. IN NS ns2.mydns.com.
I use Bind 9.0, Bind is running and port 65 is open: #53/tcp open domain
I have a Bind DNS server setup and running on windows. Im trying to set up my domain at namecheap to use my name servers but it keeps telling me that the nameserver isint registered.
I have the nameserver set up as ns1.domain.com and i can see that its listening on port 53.
I did a local test on the server and the DNS is working properly.
i work in a new ISP company, and ive been assigned to the DNS server, and before this i have never even heard of BIND, but now im in need of learning it ....and im only fairly familiar to Linux..so here are me questions:
1. where can i find a beginners guide to DNS and BIND?
2. what distribution is best suited for the server?
3. are there any default templates for the BIND config files that one could start with and modify?
4. how many files are there? i mean every time a read a bit about BIND pops up a new file name.. so how many files are enough?
5. would any1 care to help me out step by step throught my ordeal?
6. are there any training courses that i could take? are there any onlline ones? or videos that i could grab off the net?
7. how many times does a swallow have to flap its wings to maintain airspeed velocity in order to carry a coconut?
I have managed to install BIND 9.4 on my home web server so that i can have my own domain (one that i can manage). I have made a domain with it called h2o-cms.org, the domain will work when i connect to it from my home lan but if i use a cgi proxy to connect it can't be found.
I'm using Windows XP
This is my named.conf
Code: // Config file for caching only name server acl "friends" { localnets; 127.0.0.1; }; options { directory "C: amedetc"; version "SERVFAIL"; allow-transfer { none; }; allow-recursion { "friends";}; // Uncommenting this might help if you have to go through a // firewall and things are not working out. But you probably // need to talk to your firewall admin. query-source port 53; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.in-addr.arpa" { type master; file "locals.hosts"; };
zone "h2o-cms.org" { type master; file "h2o-cms.org"; }; this is my h2o-cms.org file
Code: $TTL 600 ; h2o-cms.org @ IN SOA laxlxns01.h2o-cms.org. hostmaster.h2o-cms. ( 2005062601 ; serial 12h ; refresh 1h ; retry 2w ; expire 1h ; minimum ) IN NS laxlxns01.h2o-cms.org. IN NS laxlxns02.h2o-cms.org. IN MX 10 mail.h2o-cms.org. @ IN A 80.46.117.13 ; host records localhost IN A 127.0.0.1 www IN A 80.46.117.13
Not sure if this is the right place - sorry if it isn't. Recently, I got really pi**ed off with cPanel - and have decided to try and load my server without it.
I'm using Webmin/Usermin/Virtualmin with Apache, PHP, MySQL, proftpd, and BIND.
But I'm not entirely sure on how to create nameservers on BIND - I've looked all over the internet, but have found nothing helpful.
For example, I previously had n1.abc.com , ns2.abc.com bind to certain IP. Now I registered another domain name, say abcdummy.com at another reseller and was given the option to choose my private dns. But instead of ns1.abcdummy.com and ns2.abcdummy.com, I thought this name doesn't sound that nice to be an NS. So I asked for ns3.abc.com and ns4.abc.com
Which has been registered and propogated successfully. But I want to move these domains on abc.com to abcdummy.com server, as i will not be using my reseller package at abc.com any more
So now, but its a lot work to do if I was to change these domain name NS one by one. So could I instead bind ns1.abc.com and ns2.abc.com to the same IP as ns3.abc.com and ns4.abc.com
I am trying to use BIND on Windows XP Professional to host a website off my computer using a domain. I have downloaded BIND but now I have no clue what to do. For the name servers of the domain I have put in my IP address.
What do I need to do to get a domain to point towards my computer?
I get the following message via SSH when i try named restart
named: symbol lookup error: named: undefined symbol: dns_resolver_setudpsize
All my sites are currently down but the server is up and bind wont restart either in WHM or SSH
i am using WHM 10.6.0 cPanel 10.8.0-R8 CentOS 4.3 i686 - WHM X v3.1.0 Linux ***.server.com 2.6.9-11.EL #1 Wed Jun 8 16:59:52 CDT 2005 i686 i686 i386 GNU/Linux
I spoke to live support at nexpoint but they told me to email their dedicated server support but I havent had a reply in the last few hours.
I am having some trouble with my DNS recently. Here are the errors I am receiving:
06-Apr-2009 19:09:13.921 could not open entropy source /dev/random: file not found 06-Apr-2009 19:09:13.921 ignoring config file logging statement due to -g option 06-Apr-2009 19:09:13.921 couldn't open pid file '/var/run/named/named.pid': Permission denied
has anyone successfully updated from bind9.2.x to BIND 9.5.0-P1? Were there any problems regarding settings, zone files, etc etc? Can you explain the process in detail for the update? One of my customers wishing to have this done, is running CentOS, I assume yum would be the best course of actions?
I ran "yum update" on one of my servers, and it must've updated BIND, because now named doesn't start.
I basically hit all the problems in this thread: [url]
This is CentOS4 with Plesk.
Even though I don't have that package installed, and tried every suggestion there, it still doesn't start... I mucked with the configs and moved so many files I don't know how to get back to where I started.
Quote:
Jul 24 05:08:06 www named: /etc/named.conf:67: open: /etc/rndc.key: file not found
What's my best bet for fixing this mess? I sent in an e-mail to two "server administration" companies I found in signatures here, hopefully one of them will be available today.
I changed the nameservers on critical domains to a free DNS service to get them back online, but they're acting oddly (like DB timeouts), perhaps because of the lack of a local nameserver to talk to.
But in the meantime is there anything I can do to try to fix this quick?
bind in my server isn't working and when I restart it on cPanel this is what I get:
Restarting Bind
ERROR: ld.so: object '/tmp/libno_ex.so.1.0' from /etc/ld.so.preload cannot be preloaded: ignored. Attempting to restart named Waiting for named to restart.... . . . . . . . . . . finished.
ERROR: ld.so: object '/tmp/libno_ex.so.1.0' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object '/tmp/libno_ex.so.1.0' from /etc/ld.so.preload cannot be preloaded: ignored. named status
ERROR: ld.so: object '/tmp/libno_ex.so.1.0' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object '/tmp/libno_ex.so.1.0' from /etc/ld.so.preload cannot be preloaded: ignored. named has failed, please contact the sysadmin (result was "named is not running"). Apr 26 17:54:09 orion named: ERROR: ld.so: object '/tmp/libno_ex.so.1.0' from /etc/ld.so.preload cannot be preloaded: ignored. Apr 26 17:54:09 orion named: zone localdomain/IN: loaded serial 42 Apr 26 17:54:09 orion named: zone localhost/IN: loaded serial 42 Apr 26 17:54:09 orion named: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700 Apr 26 17:54:09 orion named: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700 Apr 26 17:54:09 orion named: zone 255.in-addr.arpa/IN: loaded serial 42 Apr 26 17:54:09 orion named: zone 0.in-addr.arpa/IN: loaded serial 42 Apr 26 17:54:09 orion named: zone ns1.(domain.com)/IN: loaded serial 2008012001 Apr 26 17:54:09 orion named: zone orion.(domain.com)/IN: loaded serial 2008012001 Apr 26 17:54:09 orion named: zone (domain.com)/IN: loaded serial 2008042601 Apr 26 17:54:09 orion named: zone (domain.net)/IN: loaded (...)
And so on... for a lot of domains configured on this server. I don't think it loads all of them.
Then, right after seeing this problem I tried to connect to SSH while googling the problem and I got this:
Quote:
m-c-b:~ mcb$ ssh -l root (domain.com) root@(domain.com)'s password: Last login: Thu Apr 24 19:20:13 2008 from 87-196-13-151.ne ERROR: ld.so: object '/tmp/libno_ex.so.1.0' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object '/tmp/libno_ex.so.1.0' from /etc/ld.so.preload cannot be preloaded: ignored. ....
I installed Direct Admin on my 192mb RAM vps and right now my VPS is at 270mb (I'm going into burst). I found that if I stopped named, it goes down to less than 70. Why is Bind taking up so much RAM?
I have a weird problem since the movement of our ip range with one of our servers. Bind doesn`t seem to react on any changes we make.
For example, the server still resolves to the old ip adress while we changed all of those with ipswap.sh (directadmin) The weird thing is that all zone files are 100% Correct. Ip`s are all changed and no sign of the old ip whatsoever. Again, the nameserver still resolves to the old ip`s.
Also when i create a new domain, named.conf is changed and the zone file is created sucessfully. Still the nameserver doesn`t seem to add the domain name.
Restarting, reloading and even reinstalling named doesn`t help
/scripts/fixrndc [DNSLib]: Attempting to locate /etc/named.conf [DNSLib]: no bind configuration present [DNSLib]: Unable to locate Bind configuration file.
yum install bind Loading "installonlyn" plugin Setting up Install Process Setting up repositories core [1/3] updates [2/3] extras [3/3] Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Nothing to do
Its a cpanel vps, so I don't know why that happened. What to do?
For some reason BIND keeps failing on my cPanel server every couple of days. There are no error logs in the /var/logs/messages file concerning the crash but when I manually restart bind then it logs messages just fine and I can see them. Does BIND keep any other error logs?
Today it seemed to coincide with a big movement in system memory, here my munin graph:
[url]
I have ran the “fixeverything” script which attempts to correct any errors in the bind config file but it still crashes. I couldn’t see anything wrong with it ayway.
Ive been learning alot about BIND and DNS, id like someone to check over what ive learn't to make sure my knowledge is correct.
A Zone:
A zone is basically 'similar' to a sub-domain but the domain google.com would not be a sub-domain, so a zone is not a sub-domain. In the domain google.com 'google' would be a deligated zone from the TLD 'com'. In another example: ny.google.com , 'ny' would be a zone for google's 'new york' department, if they had one.
Hosts:
The host name is usually the most left word in a domain or you can look at it as the leaves on an inverted tree in the DNS System. Examples:
www.google.com = 'www' would be the host mail.sitepoint.com = 'mail' would be the host ny.google.com = 'ny' would NOT be a host because its a 'zone' and does not offer a 'service' like ftp, mail, www ect. would. Unless 'ny' was intended to be a service then it would be a host, but it would have to become a leaf in the inverted tree, so you wouldn't ba able to create any zones from it like 'mail.ny.google.com' ... if that makes sense.
Nameservers:
If i used BIND on my server to manage my Zones and DNS information (which is pretty much standard), that would be my Nameserver. Its job would be to convert human recognizable names into computer recognizable names/numbers/ip.
My nameserver would only have authority over zones that are not deligated. So an example, 'com' deligate 'mydomainname' to me (mydomainname.com) they have no authority over that zone. So if i set up a nameserver on mydomain.com they have no authority over mydomainname or any zone under that.
Domain Namespace
The Domain Namespace was setup to replace the method used by ARPA (later DARPA) in the 60's in an effort to create a database of hosts that were easy to administer and reduced the time and server load on the old skool HOSTS.TXT method.
A domain namespace is a way to identify the different domains. Im not to good at explaining what i mean but basically ill illustrate this example:
google.com and google.net both have the same names, so the namespace in this example would the the TLD's 'net' and 'com' to seperate them.
Go a bit deeper for example:
cd.music.com and cd.disk.com , both have the same TLD and sub-domain's so the namespace here is the first-level domain 'music' and 'disk'.
Sub-Domains Sub-Domains are similar to zones, in a way. A domain name: 'google.com' might have the sub-domain 'video.google.com' which links to the video section of google. 'video' is not a deligated zone from 'google' neither is it a host as such, so its a sub-domain.
Im probably slightly confused on some parts, and im open for comments. I dont fully understand alot of it, but what ive learnt so far took a good day to get my head around. If anythings wrong, id like to know.