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.
I have a problem with the configuration of the NS zone. Looked through the logs, and there:
Apr 28 21:20:19 szewczyk named: /etc/bind/db.domain.pl:1: no current owner name Apr 28 21:20:19 szewczyk named: zone domain.pl/IN: loading from master file /etc/bind/db.domena.pl failed: no owner
why but on one of my boxes I am having trouble adding a new zone with the BIND Configuration GUI. When I click New->Zone, it'd pop up a long form for me to fill out various things like .....
Cache Time To Live Authoritative Name Server Responsible Person E-mail etc
I notice that on the working box, it'd populate the output of the "hostname" command onto the "Authoritative Name Server" field. However, on the box that doesn't allow me to add new zones, it uses something like localhost.
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 ?
I want to migrate to bind 9.10 in debian wheezy. I don't want to take the source code from debian Sid since its an experimental version. So I have taken source code from official bind forum and compiled in debian wheezy. The compilation is successful but I am having problem in running the binary in debian wheezy. It's not honoring the binary even though I run it. I am not getting error messages on console but still it is not running.
I want to know whether its feasible to do this Or is it dependent on any other system libraries to make it run ?
Last few lines from Strace Dump ==============================
Is is possible, via iptables or something similar, to bind a service running on a specific port to a specific interface? My case: I use a VPN service for privacy. I would like to have all traffic except ftp and ssh to run over tun0. Ports 21 and 22 will need to be accessible to the outside world (eth0) while the VPN is running.
Code: ; BIND version named 8.4.6-REL-NOESW Tue Jan 25 19:11:36 UTC 2005 ; BIND version lamont@mix:/build/lamont/bind-8.4.6/src/bin/named ; zone 'example.edu.br' last serial 200806011 ; from [22.214.171.124].53 (local [126.96.36.199].51183) using AXFR at Wed Mar 12 18:44:01 2008 ; NOT TSIG verified
I need to setup 2 BIND servers where I would need to configure automatic fail over where if one of the DNS server goes down other one should be able to pick it up.I was thinking to deploy VRRP solution with keepalived or vrrpd
I had this strange and quite stressy situation today. I change something in the config of the NS1 (primary nameserver) and because of that BIND9 went down. Seemed that, unfortunately, the sec. NS, NS2, did not took over.
When I first did /etc/init.d/bind9 reload I got this error:
I was able to fix this. I guess I was because now the error has gone. I found the solution on some blog (I remember it has something to do with 'pkill lwresd' and restart bind a couple times.
Anyway, to test the NS1, on my local computer I set up the NS1 as primary and only nameserver. This works fine to test NSs. This way I can surf the internet and ping the domains that are on the nameserver.
Now when I do the same with my NS2 I can't do nothing. Cannot ping to anything, surf of course works neither.
But from my server ifself, NS2, I can ping everything. Every NSlookup is done via an external nameserver thus logical.
Furthermore everything looks normal on the NS2. No errors, I can change, add, delete, apply, restart, reload without any problem.
Basically, i want to be able to type a domain in my browser e.g. default.dev and it direct to the ../www/default folder on the Ubuntu Server on my network. The reason being is that as a web developer i have a number of sites that i'm working on locally and i'm getting tired of adding the domain to my hosts file and then creating a virtual host in Apache - i believe this can be done with BIND - is this right? If so what steps are required?
I'm trying to understand dns and I think the following commands should give me an "OK" or something... what am I missing?
Code: # dig @a.root-servers.net . ns >| db.root # named-checkzone . db.root zone ./IN: NS 'K.ROOT-SERVERS.NET' has no address records (A or AAAA) zone ./IN: NS 'L.ROOT-SERVERS.NET' has no address records (A or AAAA) zone ./IN: NS 'M.ROOT-SERVERS.NET' has no address records (A or AAAA) zone ./IN: has 0 SOA records
I'm having some trouble with email being denied because of DNS and/or Reverse DNS issues. I'm hoping someone here is an expert and can shed some light on it for meWe have multiple subdomains, each having it's own entry in the zone file. However, the majority of our traffic goes out an aggregated external IP address with the exception of a few instances such as our mail server and our website(s).We currently have these three records in our example.com zone file:
Code: example.com. IN A 11.22.333.44 www.example.com. 1H IN A 11.22.333.44
I am trying to configure a BIND DNS server to handle three websites on my home network, (my site, my sons site and our test site). Since my ISP uses dynamic DNS, we are using DNS2GO to redirect our traffic, 9EACH SERVER HAS IT'S OWN VERSION OF dns2go running).
My problem is that I can't figure out how to configure BIND since I don't have a static IP to enter into the named.conf or reslov.conf configuration files.
If I open a raw SCTP socket, am I able to bind to a specific port? (I only want to see SCTP packets from a particular IP address AND port.) Or, any raw SCTP socket, regardless of port binding , will get all SCTP packets received by the OS from that IP address? The port doesn't matter and is ignored.
There's this domain, that is apparently a cname of a cname which is, I know, not recommended, but it's not forbidden by the rfc. The domain is [URL]. If I try with windows or bind dns I get this results in nslookup:
** server can't find [URL]: NXDOMAIN but if I try with opendns I have some results. > [URL] Server:188.8.131.52 Address:184.108.40.206#53
Non-authoritative answer: www.groenegordel.becanonical name = www.vlaamsbrabant.be. www.vlaamsbrabant.becanonical name = waf.vlaamsbrabant.be. Name:waf.vlaamsbrabant.be Address: 220.127.116.11
With this I see it's a [URL] it's a cname or a cname. Is there a way to force bind to resolve this domain? Is this a limitation of bind?
i did configure as it was advised on [URL]... but it didn't work. for eg I added eth0:1 and eth0:2 on /etc/sysconfig/network-scripts/ when i do ifconfig i can see only eth0:1, i cannot see eth0:2, eventhough i configured as it was on the tutorial