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.
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 want to use single label host names on my local LAN, without using any domain (at least no registered one). My machines should be named in a fashion similar to 'myserver', 'mydesktop' etc. so that i from a browser on any LAN machine may write 'http://myserver', and get the webserver on 'myserver' (so NO domain part, e.g. myserver.domain).
Do i need to create a DNS zone for each host or is there a way to put all host in a single zone, if so; which? Would such a name be considered a root domain?
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.
I have a few external IP's assigned to me by my ISP. I have IPcop as my router/firewall. I am wondering how to bind 1 of my external ip's to my internal ip address. So I do not have to port forward, etc. For Example, 220.127.116.11 to 192.168.1.123 and on the server it see's the external IP address.
I have an RHEL5 server running BIND. I'd like to be able to resolve internal, non-FQDN names such as "wiki" for the company internal wiki. in my named.conf file...Named-checkzone returns no errors, and nslookup works when specifying the server explicitly, but no browser resolves the name when entered in the address line. I know this by no means a standard use of BIND, but I'm sure someone out there's pulled this off. I did see when googling someone suggest "load the root zone (.) as master, and add your "hosts" as TLDs, using CNAMEs", but tried that and probably did it wrong since it didn't work.
I have two DNS servers, one local and one remote, and I am trying to get them to talk to each other using views.
The problem I'm having is that the remote server can talk to the local one and receive zone files, but if I update the local server internal view, the remote doesn't receive the update. Here is my config:
I am having a problem with when I bind a static IP to my NIC I loose all network connectivity but, if i leave it set to dhcp it works fine. I've gone over all my settings a thousand times and they are all correct. Has anyone else had this problem or give me a hint as to what the problem might be?
I have a strange problem regarding networking on the Alix 2d13 running Ubuntu 10.04. The Alix has 3 physical network interfaces, lspci says:
Code: 00:09.0 Ethernet controller : VIA Technologies, Inc. VT6105M [Rhine-III] [1106:3053] (rev 96) Kernel driver in use: via-rhine Kernel modules: via-rhine 00:0a.0 Ethernet controller : VIA Technologies, Inc. VT6105M [Rhine-III] [1106:3053] (rev 96) Kernel driver in use: via-rhine Kernel modules: via-rhine
It seems, if more than one cable is connected, a random hardware port is chosen as eth0-eth2. If only one cable is connected the port that is connected is chosen as eth0-eth2. Any idea what's going wrong here?
I have a QMgr running on a SUSE 11.1 - I start my runmqlsr under qmgr control on 1414. After a few minutes the listener dies saying that it can't bind to port. I did a netstat -a and I see no service on 1414. I did an lsof | grep 1414 and found nothing. what am I missing here?
i'm trying to get a bind server up and running on my opensuse installation but I'm having some slight problems, I've been looking for a solution to what is probably a silly problem for quite a while so I decided to come here.
It it possible to setup a bind server for my internal network at home? Currently, all clients DNS requests go to my Verizon FIOS router, which also acts as a DHCP server. I would like to setup a another DNS server using BIND for studing.
Client --> Router (DNS Server) --> Internet
New BIND server setup:
Client --> BIND Server (2nd DNS) --> Router (Primary DNS) --> Internet
How would I go ab this? Would I have to configure a cache naming DNS server?
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.
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.