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


ADVERTISEMENT

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

Programming :: Make Recursive Makefile Work?

Jun 8, 2011

I'm trying to make recursive makefile work but it's giving me two problems. I have a top folder with the main Makefile and one Makefile for each sub folder 'one' and 'two'. Makefile in subfolder 'one' and 'two' are identical. The top Makefile (still a bit messy) looking like this:

Code:
# Directories
CC = gcc
CFLAGS = -Wall -Wextra
TARGET_DIR = bin
MAIN_FILE = one.c

[Code]...

View 4 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 :: 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 :: 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 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 :: Get Sobdomains To Work Fine On A Test Mache, But Domain/site To Work Due To Lack Of DNS Support At The Moment?

Feb 6, 2011

I'm not to sure this is the place I should post this, but couldn't find any place for it to fit. So here is the deal..I am running 10.10 with the standard LAMP setup. I am running a drupal 7 site no problems. What I need to do is run a multi site sub directory. (domain.com/newsite). So far the best I can do is get a directory index of the second site (domain.com/newsite), but cant run the installer. (I did the symbolic link to the doc root of the drupal install.)If I type in the url domain.com/newsite/install.php I get not found. I placed an index.html test page and it renders fine. I think I'm close but just not there yet.

Any ideas from anyone? I can get Sobdomains to work fine on a test mache, but sadly I need the domain/site to work due to lack of DNS support at the moment. I tried to get some info from the drupal forum, but everything always points to subdomin setups. I also posted over there, but it seems like the forums have very little support and are a bit on the slow side.

[Code]...

View 9 Replies View Related

Ubuntu :: -cp Recursive But Ignore Some Source

Jul 4, 2010

I'm still trying to learn, but seem to be hitting a few walls when it comes to man pages. I don't know where else to look so I hope to get some help here - or at least another idea. I'm trying to learn c++ as well as *nix terminal commands, and I like to make a backup of my compiled program and .c files each time I reach a successful compile (99-100% bug free).

My problem is I like to use an alias instead of a script to backup my work onto a USB. I don't want the hundreds of log files (10K+) copied since I usually delete them anyway.

My alias:

How do I tell cp to ignore the folder '~/work/log' during the backup?

If cp doesn't have such an option, I am open to other ideas, but I would still prefer something that I can alias since I already backup my .bash_aliases file.

View 1 Replies View Related

Ubuntu :: Prevent Recursive Mappings In .vimrc?

Aug 12, 2010

I've added the following to my .vimrc:

Code:
function CommentLines()
:'<,'>s/^///

[code]....

View 1 Replies View Related

Ubuntu :: Recursive Site Downloader Unsuitable

Apr 21, 2011

To do this, I would like to recursively download all the pages within the domain, such that their link structure is preserved. This would be tedious to do by hand, however. As it stands, I could probably use wget for this, but I would prefer something more specially designed for site downloading. I have already tried webHTTrack, but found it unsuitable. Perhaps httrack with a particular set of command line parameters would work better?

View 3 Replies View Related

Ubuntu Servers :: No Servers Work Unless Logged In?

Feb 5, 2011

I have the system setup and working, but I want to put it in a corner and forget about it. Problem is, nothing starts running unless I'm logged in. And if I log out, everything stops again.It's running a LAMP server and has VNC and SSH servers as well. I want all of that to start without having to log in. That way I can remote reboot without worries and connect and login with either VNC or SSH.Everything seems to have an entry in /etc/init.dIs the way it's acting normal behavior? It's a fresh install, then I installed everything I needed from the repos.

View 7 Replies View Related

Ubuntu Security :: Revert Original User For Fs / And Recursive

Jul 7, 2010

Trying to configurate gadmid-bind, I change the user and group of my entire filesystem, I archive some advance getting all back but for now,sudo leave me with a problem about guid, i changed sudoers to root againg, but i don't get all back.I dosen't have network connection, because nm-applet dosen't start on my user, and when i run on a xserver with root user it give me: The device is not ready.

View 9 Replies View Related

Ubuntu :: Get A Recursive Listing Of All Files Under The Current Directory?

Jan 2, 2011

If I runls -R1I get a recursive listing of all files under the current directory.However, if I dols -R1 *.avi, ie I want to search only for files with the file descriptor .avi, I get an errorQuote:ls: cannot access *.avi:No such file or directorySo it seems I am using ls incorrectly. What's the correct way to use wild card pattern matching when using the -R switch? Or maybe that isn't possible?

View 2 Replies View Related

OpenSUSE :: Grep And Recursive -r Not Working?

Aug 9, 2010

works fine on a FAT32 dsk:

Code:

fgrep -iRn -C 2 'print' *.txt
---also recurses one level and displays all kinds of data
---------------------------------------------------------------
in root / ext4 directory:

Code:

fgrep -iRn -C 2 'print' *.* or fgrep -iRn -C 2 'print' *.txt
---displays msgs:
fgrep: *.*: No such file or directory
and
fgrep: *.txt: No such file or directory

I am probably missing something very basic.recursive does not seem to work from root directory.Is this (as they used to say) a feature? This is on an 11.2 system, upgraded to 11.3 (ran zypper verify to verify. According to it.. all is well).

View 9 Replies View Related

General :: How To Write Non Recursive Makefile

Dec 14, 2010

I want to write simple non recursive makefile, but I am not getting syntax of it. Please give me example with simple description. I had read docs, html's but I am not getting how that works please give simple example. consider I have following directory structure.

[Code]...

View 1 Replies View Related

Programming :: Getting Perl Simple Recursive Sub?

Feb 16, 2011

This is my sub;

Code:

sub projName
{
print "Enter project name: " ;
$PROJ = <STDIN>;
print "";

[code]....

I can call this routine and it works fine when I enter a valid name for $PROJ. If I enter an invalid name it goes to the else block and prints the statement. However, it does not call itself. Instead the script just exits.I've googled 'perl recursive subroutines' and the example don't appear to be doing anything different.

View 4 Replies View Related

Programming :: Recursive Search In A Tar.bz2 File?

Jul 14, 2011

I am looking for a one liner to search for a string in file(s) which are in a tar ball (.tar.bz2 in my case)

Code:
-bash-3.2$ tar -tjf /var/log/ABC/07142011-1412.tar.bz2
var/log/ABC/07142011-1412/
var/log/ABC/07142011-1412/live_hosts.txt
var/log/ABC/07142011-1412/all_hosts.txt
var/log/ABC/07142011-1412/LOGS.txt

How can I recursively look inside all the txt files in this tar file ?

View 10 Replies View Related

Programming :: SH - Recursive Variable Substitution

Jul 1, 2010

I have the following test code fragment:

Code:

When I try to run it 'sh' reports the following message^

Code:

You might understand what I mean with that test code so could you recommend how to achieve the required effect?

View 7 Replies View Related

Programming :: Set A Recursive Function As Inline?

Feb 3, 2011

Is it good to set a recursive function as inline? I would think it would increase the performance speed of the program.

View 2 Replies View Related







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