Ubuntu Servers :: 9.10 - Using Bind9 As DNS Server On LAN - Does Not Seem To Translate Its Own Hostname Correctly

Sep 8, 2010

Im using bind9 as DNS server on my LAN, but it does not seem to translate its own hostname correctly for some reason. Other hosts is translated correctly, the problem only seems to apply to the DNS host itself. if i "ping <server_hostname>" from the server, it translates correctly. But if i "ping <server_hostname>" from the client it only says "unknown host" The client has the correct DNS-server assigned. How can i start troubleshooting this?

[Code]...

View 3 Replies


ADVERTISEMENT

Networking :: BIND9 SLOW Ping When Ping By Hostname

Feb 1, 2011

I just installed my first EVER bind DNS server. I am running bind9 on Ubuntu 10.04. Everything seems to be working great except one thing: If I ping a host that I have set up in bind by its HOSTNAME the pings take 5-6 seconds to reply/print to the screen between each echo response. If I ping by the host's IP address, they echo back very quickly.

I have read that IPv6 can cause this, but I have disabled it in /etc/sysctl.conf and the problem still exists.

I know everyone says this can't be a DNS issue, but this never was an issue with dnsmasq (which i was using prior), and it doesn't make sense that the ping are ONLY slow when pinging by hostname and not IP.

Configs below:

Ping by hostname - there is a 5-6 second delay between each one of the responses:

Code:

Ping by IP - the responses come VERY quickly one after the other:

Code:

/etc/resolv.conf:

Code:

Code:

rev.0.168.192.in-addr.arpa:

Code:

View 10 Replies View Related

Ubuntu Servers :: Upgraded From Server 9.04 To 10.04 And In The Process My Hostname Was Lost

Dec 8, 2010

Just upgraded from Ubuntu Server 9.04 to 10.04 and in the process my hostname was lost.

Code:

Although configure file looks fine:

Code:

The following lines are desirable for IPv6 capable hosts

Have set hostname with:

Code:

But doing it this way you cant use '_' ..

View 4 Replies View Related

Ubuntu Servers :: LDAP - Cannot Get The Replication Server Operating Correctly

Jun 7, 2010

I have successfully installed Openldap and am able to authenticate to it, but I can not get the replication server operating correctly. I have followed all of the steps in doing so from this guide, [URL], but there are a few things i don't understand. when creating the consumer_sync.ldif file on the consumer server it says to replace ldap01.example.com to your server's hostname.

would this be the provider or consumer? My porvider is ldap@tech.local and my consumer is ldap-backup@tech.local.... so what one are they refurring to with the ldap01? And is there a way to push, or sync the two server manually? How do I know if they are backing up properly? How do I test?

View 1 Replies View Related

Ubuntu Servers :: Setting SAMBA Server Correctly - Can Only Access Files From The Win 7 Machine

May 31, 2010

Im having trouble setting my SAMBA server correctly. I have two Win machines, one with WIN7 and one with XP. I have one Ubuntu machine and Ubuntu Server 10.04. My problem is that I can only acess files from the Win 7 Machine. When I try to map out the shared dirs on my serverI get asked for user and password, when I enter my creditensials it dosent help.. What to do? I used the sample smb.conf file and open for no restrictions..

[Code]....

View 9 Replies View Related

Ubuntu Servers :: Install Bind9 In 10

Sep 6, 2010

Im install bind9 in ubentu 10 with this turotial [url]my dns server is work in linux but my client user cannot use dns when client run nslookup in cmd Cannot find server name for address my_ip_linux :server faild Server: Unknown. im on linux valid ip

View 5 Replies View Related

Ubuntu Servers :: Adding Domain To BIND9?

Apr 20, 2010

I want to make BIND9 aware of my TLD so I need to give it an A record. Then I wanted to create CNAME for ftp, mail and so on as time permits

I have webmin so I need to work from that.

my TLD is [URL]

I wanted to bolt on www, ftp for now

www is port 80, ftp port 21 etc

View 1 Replies View Related

Ubuntu Servers :: Bind9 Failed To Start

Oct 6, 2010

when i started bind9, it showed me this error, Can anyone help me in this, according to me i dont have a file sysklogd so i can not restart that. that is why i think iam getting error while starting bind9. How to get that file and how to get started Bind9.

View 4 Replies View Related

Ubuntu Servers :: Bind9 And Apparmor Error

Jan 3, 2011

using Ubuntu Server 10.10 x86_64 on this machine. It is used as a master DNS server for my domain. We have migrated it to Ubuntu from Gentoo. The problem is that AppArmor is spamming /var/log/syslog

Code:
Jan 3 14:38:40 hydra kernel: [2154828.893409] type=1400 audit(1294061920.141:660146): apparmor="DENIED" operation="mknod" parent=1 profile="/usr/sbin/named" name="/var/log/named_querylog" pid=15397 comm="named" requested_mask="c" denied_mask="c" fsuid=103 ouid=103
The zone files reside in /etc/bind/ and we have not changed anything in /etc/apparmor.d/usr.sbin.named .

We don't want to just uninstall apparmor, but how do we adjust its settings correctly?

View 5 Replies View Related

Ubuntu Servers :: Bind9 Not Starting On Boot

Mar 2, 2011

Since I have not gotten anything on the "General Help" I am posting this here: When a Ubuntu 10.10 I have starts up apache2, MySQL and postfix start properly but bind9 doesn't. Once booted is I run 'sudo /etc/init.d/bind9 start' it starts. The only thing odd on this system is I have a "inet6 v4tunnel" interface defined in my /etc/network/interfaces. From booting in the syslog there is:

Code:

/var/log/syslog:Feb 28 19:02:42 ubuntu named[1029]: starting BIND 9.7.1-P2 -u bind -d 9
/var/log/syslog:Feb 28 19:02:42 ubuntu named[1029]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind'

[code]....

Even with the bind debug level at set at 90 I do not get any more in the logs that what I posted before. The lack of errors in the logs is giving me no idea where to start. I commented out the IPv6 tunnel interface and rebooted and still no help. bind still is not starting at boot. OK, it is not a permissions issue, I have changed the config and zone files to be owned by bind:bind, root:bind, root:root and bind:root and it has made no difference. Doing a fresh install on a Virtual Box VM and configure it in a similar manner bind9 starts normally. (I am almost to the point where I will rebuild the box)

View 9 Replies View Related

Ubuntu Servers :: Can't Get Bind9 Recursive To Work?

Apr 11, 2011

I have googled for hours and can not find an answer to what this means.

dig @172.16.255.254 twitter.com.
; <<>> DiG 9.7.0-P1 <<>> @172.16.255.254 twitter.com.
; (1 server found)
;; global options: +cmd
;; Got answer:

[Code]...

And I have a very long debuging log file I will not post unless requested. I also have added a ufw allow from all to all rule for testing purposes only.

View 6 Replies View Related

Ubuntu Servers :: DNS Not Working Properly (Maybe Be BIND9 Related)

Apr 26, 2010

I am migrating my server from Kloxo (lxadmin) to Ubuntu (webmin/virtualmin), and I already had my Nameservers on my register (Godaddy) to go to [URL] and [URL] along with my IP. (I set the ttl to 60 cuz I thought that might be a problem) Now, I do a dig [URL], it gives me this output.

Code:

; <<>> DiG 9.6.1-P2 <<>> thedomz.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40276

[code]...

I can go to my website only when I change my hosts file (on my windows machine).

View 9 Replies View Related

Ubuntu Servers :: Dhcpd Not Updating DNS Records In Bind9?

Jun 26, 2010

I'm having trouble getting dhcpd to update DNS records in bind9. I'm not seeing any journal files created for bind9. The following appears in syslog when a client machine connects to the network:

Code:
Jun 26 04:07:22 ubuntu dhcpd: DHCPDISCOVER from 00:23:df:44:78:83 via eth0
Jun 26 04:07:23 ubuntu dhcpd: DHCPOFFER on 10.0.0.112 to 00:23:df:44:78:83 (Computer1) via

[code]....

View 3 Replies View Related

Ubuntu Servers :: Bind9 Fails To Redirect Only Windows?

Aug 28, 2010

I operate a home network with Ubuntu Server 10.04 with services including DHCP3, Bind9, Apache, and so on. Since I host several dozen websites from home, I have to run Bind DNS. All Ubuntu boxes on my network operate fine. However, all Windows boxes on the network seem to forget to look internally for DNS after a couple of page loads on my internal sites. The network settings still indicate that my internal domain name server is the first lookup and everything seems normal.

View 2 Replies View Related

Ubuntu Servers :: Samba4 And Bind9 Auto Updates

Sep 2, 2010

I am using samba4 and bind9 (9.7.2rc1) on an ubuntu server 10.04.

Everything works fine, but bind9 ist unable to update DNS entries sent by clients.

I followed the tutorial [URL] but it doesn't work for me.

It doesn't look like a file permission problem:

Code:
-rw-r--r-- 1 root root /usr/local/samba/private/dns.keytab
-rw-r--r-- 1 root root /usr/local/samba/private/dns_update_list
-rw-r--r-- 1 root root /usr/local/samba/private/named.conf
-rw-r--r-- 1 root root /usr/local/samba/private/named.conf.update

[Code].....

View 2 Replies View Related

Ubuntu Servers :: Bind9 Errors: Unknown Option 'zone'

Aug 11, 2010

I am trying to get bind 9 up and running on a new installation of server 10.04 and keep getting errors when starting the daemon -

* /etc/bind/named.conf.local:19: unknown option 'zone'
* /etc/bind/named.conf.local:20: unknown option 'zone'
* /etc/bind/named.conf.default-zones:3: unknown option 'zone'
* /etc/bind/named.conf.default-zones:11: unknown option 'zone'
* /etc/bind/named.conf.default-zones:16: unknown option 'zone'
* /etc/bind/named.conf.default-zones:21: unknown option 'zone'
* /etc/bind/named.conf.default-zones:26: unknown option 'zone'

The onlything I could find after scrubbing the internet is once ina while there's a missing bracket. But I have checked and triple checked my config files and the syntax and can't find anything wrong. I have another installation of bind9 running on Fedora and the same exact syntax works just fine.

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Bind9 Attempting Ipv6 On Ipv4 Network

Oct 29, 2010

After upgrading from 9.10 to 10.04, a hundred or so of (for example)

Code:
error (network unreachable) resolving '14.42.117.203.in-addr.arpa/PTR/IN': 2001:500:13::c7d4:35#53: 1 Time(s)

messages appear in syslog each day. Each URL has from 2 - 6 attempts at various ipv6 addresses. My question is why is bind9 trying to resolve ipv6 addresses? I have done nothing to enable or disable ipv6 and thought that if not explicitly enabled I would not have to be concerned with it.

View 1 Replies View Related

Ubuntu Servers :: Setting Up BIND9 - Kerberos.xeonserver (not Configured Yet)

Dec 25, 2010

I am having trouble with setting up BIND9 for 6 virtual servers that use ubuntu x64 v10.10. I have main server running ubuntu as well. host name is xeonserver I would like to explain my setup first.

my router ip: 192.168.1.1/24 host server for VMs ip: 192.168.1.2/24 Then on qemu my virtual machines are in 10.0.0.0/24 network, gateway to my router is 10.0.0.1

1. kerberos.xeonserver (not configured yet) 10.0.0.2
2. dns.xeonserver (the one I have trouble with) 10.0.0.3
3. mysql.xeonserver (not configured yet) 10.0.0.4
4. apache.xeonserver (not configured yet) 10.0.0.5
5. ftp.xeonserver (not configured yet) 10.0.0.6
6. mail.xeonserver (not configured yet) 10.0.0.7

To configure it I followed instructions found on [URL]

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Bind9 For DNS Installed - Virtual Hosts Configurable

Jun 11, 2011

I have installed bind9 for DNS. I have also installed Apache2, PHP5, MySQL, and correctly configured these together. When I view domain1.co.uk it currently works fine as required. I would like to change it to:
* /var/www/domain1.co.uk/prod/ - becomes the root dir of domain1.co.uk
* /var/www/domain2.co.uk/prod/ - becomes the root dir of domain2.co.uk

Nevertheless, I have created a the following files; these are copies of the "default" file and correctly amended. the required destination directories are in place!
* /etc/apache2/sites-available/domain1.co.uk
* /etc/apache2/sites-available/domain2.co.uk

I then executed:
Code:
sudo ln -s domain1.co.uk ../sites-enabled/domain1.co.uk
Code:
sudo ln -s domain2.co.uk ../sites-enabled/domain2.co.uk

It is important to understand domain1.co.uk and domain2.co.uk represent 2 Existing domain names I own, and both point to my server.
domain1.co.uk currently works in /var/www
Why I would like multiple domain names on the server.

View 1 Replies View Related

Ubuntu Servers :: Bind9 Views - Reverse Lookup Zone Doesn't Work ?

Apr 1, 2011

I'm at a loss to why my reverse lookup zone doesn't work for me.I've got two views. One internal and one external. My domain is isp2.datornatverk.se. Public IP: 130.240.133.81.

dig -x @8.8.8.8 130.240.133.81

gives me:

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2917
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

I've set it up so that the internal subnets gets the domains resolved to the internal IP-addresses. When querying from external addresses I will get public IP.My named.conf.local file:

Code:
acl internals {
127.0.0.0/8;[code]..........

I don't know whether the views has messed something up. It worked before I added the views.

View 3 Replies View Related

Server :: Setup Bind9 On Ubuntu Server 32-bit?

Jun 10, 2011

I have worked with servers before now, but not DNS nameservers and I would like help setting up Bind9 on my Ubuntu 11.04 Server.

View 7 Replies View Related

Server :: Insert IP Address In Configuring DNS Server Using Bind9?

Jul 10, 2010

especially to ubuntu server 8.04 because it doesnt use a GUI. Now my question is on how to insert IP address in configuring DNS server using bind9. Actually i'm using this guideBut i m not sure on how to insert IP addresses on the primary master and secondary master. Should I insert the Ip address that i found when i type ifconfig ? or Should I assign a new IP address.I have set up a webserver, DNS server, File server and mail server on a virtual box. For now, at first, im working with the DNS server or should I work with the web server first?what should I do?

View 1 Replies View Related

Server :: Set Up A Domain With Bind9?

Jul 9, 2010

I've tried reading several tutorials on setting up a domain name with bind9, but I've never managed to get one working.

View 7 Replies View Related

General :: BIND9 For Local Web Server?

Jun 10, 2011

I have a web server on my local network with a couple domains facing the internet. When I visit these domains from within the network I'm directed to my routers configuration page due to hairpin NAT.

So I installed BIND9 on the server and set up my forwarders to Google DNS to act as a Caching Nameserver. Then I set my routers DNS primary and secondary nameservers to the IP of the local BIND server. Everything is working great.

Now I need help configuring BIND so that the domains hosted on the web server within the network are routed to the web server and not the routers configuration page.

View 1 Replies View Related

Server :: Bind9 Stop Working When Installed Postfix On Ubuntu 9.10?

Feb 28, 2010

I have a Ubuntu server running in my house.Server name UshaMain PC name HomeLaptop 1 Named BooLaptop 2 Names Bobevery one is running Ubuntu 9.10The server is running Bind9 and Samba and is working from any other PC i can type ping usha and it will give me teh ip address of the server.This has been working for 4 months now.I just installed PostFix and nowthe only PC that is working with i ping the name USHA "server name " Is the server.The other three pc come back with the IP address of the domain for USHA.I have removed the Postfix from the server but the DNS is still not working for the other pc on the network.Ho do I get Bind working again form the rest of the PC.

View 10 Replies View Related

Server :: BIND9 Conf And Zone Files?

Sep 20, 2010

The thing is, I've created a new local zone here (called "local.lan"), and, aparently, it is working fine, and DHCP3-SERVER is updating DNS info through the controls.But sometimes I get some strange answers from the server, like when I do the "arp" command in one of the clients, and get the server's hostname "mixed" with it's own reverse, like this: "dns.local.lan.2.168. | ether | 00:02:1e:f5:61:74 | C | eth0". Other thing is that sometimes my DNS don't update when a computer "enters" the lan. In the /var/log/syslog the DHCPOFFER appears, but the information about the DNS update isn't there.So, I would like to show you my named.conf file and my local zone db file, and get some feedback from you (what would you change... what is wrong...).

# ------------------- #
* named.conf:
# ------------------- #

[code]....

View 17 Replies View Related

Server :: Bind9 Log Full Of Localhost Queries?

Feb 24, 2011

I have my bind9 DNS server running on Ubuntu with logging on. What's bothering me is that I have log full of localhost queries instead of from IP of the computer which actually asked.DNS queries log:/var/log/named.queries.log

Code:
24-Feb-2011 16:01:19.413 client 127.0.0.1#38022: query: clients4.google.com IN A + (127.0.0.1)

[code]....

View 6 Replies View Related

Server :: Bind9 - SERVFAIL On Some Internal Domains Not Others

Jul 24, 2011

I'm running bind9 on Debian 6. I have a primary domain, 44kg.net, fully configured and working dynamically (the server also runs DHCPd and updates the DNS records properly).

[Code]....

To access my externally-facing website, which has a blog and a forum which are keyed to the external domain, I set up the domains in bind so they would resolve to the server's internal IP. This worked great for a few months, then inexplicably ceased working. I didn't touch anything, but it coincided with our router dropping its VLANs. I've moved the server to a different location and it's still not working properly. Whenever I try to lookup the external domains, I get SERVFAILs. This is annoying because the internal domain is fully working and I copied the basic settings.

[Code]....

View 6 Replies View Related

Server :: Chrooting Attempt Of BIND9 Failed?

Jun 18, 2011

I followed blindly this how to : [URl].. out of laziness and then for some reason bind9 didn't want to start. So I tried to apt-get remove it, but when I re-install it, it failed because

Code:
chgrp: cannot access `/etc/bind/named.conf*': No such file or directory
so I assume the chrooting stuff I did is in the way, but I know very little about chrooting and permissions ... how can I undo the following things I did :
Code:
/etc/init.d/bind9 stop

[Code]...

View 4 Replies View Related

Ubuntu Servers :: Can't Ping By Its Hostname

Jan 3, 2010

I have installed a ubuntu 9.10 server to use mostly as a fileserver. When I installed the server I set it up as DHCP and later on I have changed the /etc/network/interfaces file, the /etc/hosts file and the /etc/hostname file. I have the ip 192.168.1.100 set on the server and I can ping and SSH this address. But I can not ping my server by it's hostname enighet. I am setting up a NFS server and I would like to use my servers hostname when I do this. Why can I not ping my server by it's hostname? These are the 3 files I have changed...

Code:
johan@enighet:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo

[Code]....

View 2 Replies View Related







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