Server :: Using BIND To Resolve Internal Non-FQDN Names
Sep 3, 2009
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 xp and virtual guest centos 5.i install apache, bind, squid and webmin through xp, i can access URL...but when i start my squid, put the ip in the browser proxy settings, when i logon its ip turn to URL...I believe my bind is working. Though theres some little glitch. I dont know where.and i already put my servers bind ip to my winxp primary dns server settings.
BackgroundI have registered a domain name "abc.mobi" with domainit. abc.mobi is pointed to our mail server which is running at 126.96.36.199 (fake address).All mails that are being delivered to firstname.lastname@example.org have no problem getting delivered. We can also send emails out to other domains.I have recently configured BIND 9.3.6 on the same server (running CentOS) that is running our mail server. The purpose is to make sub domain dynamically without getting domainit involved. These subdomains will have incoming and outgoing emails as well. For example, I would want to make a usable subdomain "xyz" under abc and have email@example.com email address.
I have configured abc.mobi.hosts file as follows (/var/named/chroot/var/named/abc.mobi.hosts) $ttl 38400
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 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.
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 have a NAS server running Debian with Dnsmasq (local DNS and DHCP service). This is working well, including fetching upstream requests from my ISP's DNS service and caching them locally. I have another PC not running Ubuntu which happily resolves DNS and non-DNS names. E.g. Code: ping hagrid. ping hagrid both work.
However, this is not the case on my Ubuntu PC. It is only able to resolve DNS names, not non-DNS names. Code: ping hagrid. works but Code: ping hagrid does not. I have the standard nsswitch.conf and host.conf.
I'm confused. Why do I get a response from ping for any scrambled internet server name I type in??The only thing that is necessary is to start with "vvvvvv."(It should be triple W in this post, but I need to do this work around due to the forum rules )And it always resolved to different IPs with similar ping times.What's going on?
Code: > ping vvvvvv.q3g87uv8123907.qt1 PING vvvvvv.q3g87uv8123907.qt1 (18.104.22.168) 56(84) bytes of data. 64 bytes from vvvvvv.q3g87uv8123907.qt1 (22.214.171.124): icmp_seq=1 ttl=249 time=55.6 ms
We installed CentOS 5 at our school and are attempting to get 2 simple DNS servers online. These are simple name resolution servers for our network. We installed the needed caching nameserver packages via Yum and all seems to be well, but for some reason when the server is online, it fails to resolve DNS records except when we direct the requests to its 127.0.0.1 (localhost) interface. As for the server specs, the DNS server is running on a Virtual Machine, and the ESXi server has 2 quad-core Xeon CPU's with 48 Gigs of RAM (in short.. hardware is adequate.)
Here's more details: When the box boots up, we can confirm that the named service is running and it resolves DNS records when we direct queries to its localhost address: [root@ns1 ~]# dig hotbot.com @localhost ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> hotbot.com @localhost ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55510 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 0 ..... ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> hotbot.com @126.96.36.199 ;; global options: printcmd ;; connection timed out; no servers could be reached
What would cause the Named service to not answer DNS queries from the physical IP but only from it's internal IP?
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:
Is there away to resolve the hostname after creating a new subdomain. So we don't need to wait internet need some times to able to resolve the hostname. For example, if I add new subdomain to "test.example.com", I can directly ping to this hostname from internet.
I recently installed bind9 on mandriva 2008.1, after having done the necessary configuration.. I still can't find my domain I configured cant ping on other machines on the LAN but can actually ping on any other website on the internet even though name server is configured to point to local machine..... I dont understand what I'm doing wrong.
I configured my dns server running on redhat5(test.com, ip-192.168.10.1), all is working perfect on the server its-self and on the client machine(xp), it cant resolve the name [url] but can resolve when i use [url]are ok, nslookup displays the following error:
The reverse is working fine from the redhat machine, NO firewall on the client xp machine xp as host name is added in /etc/hosts
This applies to my 2 opensuse PC's, my Windows PC is fine.I can ping a hostname, say "PC1" but I can not ping PC1.domain.local (even the host PC can not ping it's own FQDN). When I ping just the hostname the ping stats even list the FQDN.Onto the next issue, since all my PC's, have the domain prefix domain.local, my Synology can not. I can ping it's IP and that is it. I can resolve it's name with nmblookup just fine tho and that is what is killing me. How is this not resolving.Even weirder, I can browse to "Synology" in Network Servers under places on the slab.
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?
A while ago I downloaded a VMWare VM for 7.10. I then upgraded it to 8.10 and it was working just fine. I just did the upgrade to 10.04 and I'm having problems with my networking. The really odd thing is that I can ping machines on my local network and out on the Internet by IP address but it will not resolve names using DNS.
I've got the network set up for DHCP. I also tried DHCP address only and manually entered my DNS server addresses but still no luck on resolving names with DNS. At the end of the day, I don't really care if I get this fixed or just get a new VMWare VM. (I can't create one because I only have the player.)
I have setup an static IP on this server, it will ping internal sites , but when I try to browse the internet it does not do anything. I have set up the gateway, the firewall, and the domain fie, but still no luck.NOTE: When I try DHCP it will work ( it will resolve the DNS of the pages), but since this is a server it requires an static IP.
I just set up my first ever bind9 DNS server running on ubuntu server 10.04. This server is also my gateway/dhcp server.
Here is what is weird: If I do a dig @188.8.131.52 dschuett-lmtl.scs.local from any of my clients it resolves?!?! Dig shows that it got the answer from MY Bind9 DNS server (and NOT Google's of course), but why is it still resolving when I'm telling it to use and external DNS server?
The other weird thing is that the SAME EXACT dig command above does NOT resolve internal host names if I do it from the Bind9 DNS server. - Which is what i would expect SHOULD be happening if done from the client machines...
I have a windows PC and a fedora 13 linux box. When connecting to the linux from windows, I'd like to type the hostname instead of the ip address. Apart from setting the hostname, what do I have to do to publish my hostname on the intranet. (set up a nameserver?)
Though hostname works on the linux box, even this fails: nslookup myhostname Also I'm a newbie. I've tried installing some packages like samba and dhcp, using yum...;service chkconfig... and then checking whether nslookup or nmblookup work with my hostname. But it's just guesswork. Under system -> Administration there is no network option. but it is not clear what package is needed to install it, or whether such a thing is supported in fedora 13. I did try system-config-network, but it has few options none of which pertain to hostname resolution. The fedora manuals dont seem to cover it, at least in recognizable plainspeak to me.
I have three Debian systems running, along with several XP laptops, PS3 and two DirecTV systems. I use two of the three Debian systems as media servers, and the third is an older system mostly for playing around with. My home network is running fine with the following nuisance. The two newer Debian (Lenny) systems are <barney> and <mitzi>, the older is named <oscar>, running Debian Sarge 3.1. From either locally or remote login to <barney> and <mitzi> I can ssh into either of the other two systems, however when logged into <oscar> I cannot ssh by name to either of the other systems. e.g. ssh: mitzi: Temporary failure in name resolution..However, from <oscar> I can ping outside my network (e.g. ping www.google.com) with no problems.I can also ssh to the other systems via IP address, just not by name.
I've compared the /etc/ssh/ssh_config, /etc/resolv.conf, /etc/ssh/sshd_config and other files between the two systems and not seeing anything peculiar. arp, route, etc., don't show different behavior between the systems either.
I'm new here, so please be gentle! I recently installed F12 64 KDE on my Acer Aspire 1810TZ, could connect to the WLAN router but neither the native Konquerer nor Firefox could open any pages...
resolve.conf has the DNS according to DHCP offer, from command line dig properly resolves the name, ping (e.g. google) works, telnet to domain-name on port 80 works, GET too. When using the browser with the domain-name I tells me "Server not found", tcpdump doesn't display any activity. But when I manually change the domain-name with the IP (received by command line dig) then the browser has no problem how do browsers interact with the network resources of the OS?
I'll apologize in advance for I'm sure this has been covered already, but I'm not sure of the search terms to even use to begin solving this problem. I don't know what I don't know.
I have three computers on my home network and want to reach them by their name instead of IP address since their ip is dynamically assigned. I'm using a Linksys WRT54GL router and have noticed that there exists a "DHCP Clients Table" in the router that seems to hold all the necessary information - host names and ip addresses.
How can I get my computers to use that as the lookup table to resolve the host names? And is this even an optimal way of being able to resolve local names?
The little home server of mine has bind configured as a caching dns server. I would like to configure it to resolve local host names. I know dnsmasq can do this, so what would someone need to do to get bind to do this?The network is entirely private with all private IPs which are distributed by dhcpd.(While writing this, the feeling creeps in that it would be easier to just have dnsmasq running.)
After upgrading my ubuntu server from 9.04 to 10.04, the window computers couldn't resolve samba shared names anymore, the error code displayed by Windows was 0x80070035.
I was using the ubuntu server as a samba server, using 'share' as the security authentication method, it has been working very well under previous ubuntu versions but, after upgrading to 10.04, the windows computers can't access the server shares anymore; the linux computers don't have any problems (I can access the shares from linux).
As a workaround, I've added the name of the server in c:windowssystem32driversetchosts; but I'd like to know how to fix the problem without modifying every windows computer.
I'm using Linux Mint 8, kernel 2.6.31-12 (and I tried several other distributions and had the exact same problem) on my FSC Amilo Pro 3525, where I have Intel HDA (ICH7) and Realtek 883. My problem is that when I plug in my external speakers, they do not mute the internal ones.
I've searched and searched the forums and came up with a half-baked solution where in alsamixer I - almost - mute front, and bring master to maximum, and in that way I hear the internal speakers just a little.. and the external ones play at maybe 1/3 of their normal volume. Every time I reboot I have to do this again. I can't mute front entirely because then it mutes all sound.
I tried adding various options to alsa-conf, which seems to be a fairly often suggested solution, including the one where I identify the model of my notebook, and it did not help.
Now. When I tried to find the answer, I came across several tutorials that suggested adjusting options in volume control, etc, inlcuding jacksense, that I found I don't have listed.
Being pretty ignorant about Linux, I came to the conclusion that it might be Pulseaudio that's causing the problem. For instance, alsamixergui shows Pulseaudio as card. I did try preventing Pulseaudio from loading, did not help.