Server :: Bind9 Config Files: Leading Whitespace Requirements?

Apr 19, 2011

Is leading whitespace significant in bind9 config files? This reverse lookup file (/var/chroot/bind9/etc/bind/zones/rev.168.168.192.in-addr.arpa) did not work; /var/log/messages had "zone 168.168.192.in-addr.arpa/IN: has no NS records".Inserting 3 spaces before IN in the NS line fixed it:

Code:

; IP Address-to-Host DNS Pointers for the 192.168.168.0 subnet
@ IN SOA CW8vDS.localdomain. hostmaster.localdomain. (
2011041901 ; serial
8H ; refresh

[code]...

Reading the man pages and netsearching, I did not find anything about indentation requirements except for "This is usually indented for readability, but the indents are required syntactically" here.Although the above file works, named-checkconf reports an error in it:

Code:

root@CW8vDS:/var/chroot/bind9/etc/bind/zones# named-checkconf rev.168.168.192.in-addr.arpa
rev.168.168.192.in-addr.arpa:1: syntax error near ';'

but named initialisation does not log any errors or warnings in /var/log/messages when processing this file except "/etc/bind/zones/rev.168.168.192.in-addr.arpa:2: no TTL specified; using SOA MINTTL instead".

View 10 Replies


ADVERTISEMENT

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

CentOS 5 Networking :: Bind9 Not Starting After Changing Config

Oct 15, 2009

I am running centos 5.3 with the latest bind, i have made some changes in the config and now it wont start.

Fel i named-konfigurationen:/etc/named.conf:27: unexpected end of input (last line)
My named.conf looks like this:
options { directory "/var/named/";
};
view "externt" {
match-clients { any; };
recursion no;
zone "dala.hk" {
type master;
file "dala.hk";
};
zone "0.0.168.192.in-addr.arpa." {
type master;
file "1.0.168.192.in-addr.arpa";
};
};
view "intern" {
match-clients { 192.168.0.0/8;};
zone "intern" {
type master;
file "intern;
};
};

View 2 Replies View Related

Software :: Renaming Some Files (adding Leading Zeros)?

Jan 8, 2011

I need to rename some files. They are named:

NP1-1.mp3
NP1-2.mp3
NP1-3.mp3

[code]....

However, as there is no lead 0, the order gets confused by some software (some software mistakenly lists it as NP1-1.mp3, then NP1-10.mp3). I'd like to add zeros so the files are named like this:

NP1-0001.mp3
NP1-0002.mp3
NP1-0003.mp3

[code]...

How can that be done?

View 3 Replies View Related

Software :: Rename Hidden Files / Rename All Files With A Leading Decimal Point Recursivley?

Jul 25, 2011

How would I rename all files with a leading decimal point recursivley? I some how got all my music files to have a decimal point.I tried the below and got a " sed argument to long".[CODE]find /media/MUSIC -type f -name "*.wma" | xargs -0 sed -i 's/.(.*)/1/'[CODE]

Another question, can i just use -type f with out -name ? I am sure that all the files got the decimal point added as the first character.

View 14 Replies View Related

Server :: Config Apache Server To List Php, C/c++, Java Files As Regular Txt On Website?

Feb 2, 2011

I try to config my apache server to list all my files: c/c++, php, java files, like the txt file on my server,

e.g /var/www/mydomain/pub

i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name,

if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file,

Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?

View 1 Replies View Related

Server :: Config Apache Server To List Php / C/c++ / Java Files As Regular Txt On Website?

Feb 23, 2011

config my apache server to list all my files: c/c++, php, java files, like the txt file on my server, e.g /var/www/mydomain/pub i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name, if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file, Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?

View 1 Replies View Related

Server :: Edited The Config Files Because Xx.xx.xx.xx Doesn't Exist?

Aug 25, 2010

I'm taking over as a Linux admin where they use sendmail last week. I've done very little with email on linux, and haven;'t touched sendmail since 2000 so I am really out of my element.Basically the sendmail server for many months has had performance problems, disk, and load.Looking into it I found this doing a tail on /var/log/MaillogAug 25 17:11:49 web8 sendmail[1531]: o7OGF2VH002566: to=postmaster, delay=1+01:58:10, xdelay=00:00:00, mailer=relay, pri=2388694, relay=[xx.xx.xx.xx], dsn=4.0.0, stat=Deferred: [10.10.20.107]:No route to hostAnd that was all it was spewing, I edited the config files because xx.xx.xx.xx doesn't exist. And running m4, then restarting sendmail.It is still spewing out that message, but I do see some things connecting to the new yy.yy.yy.yy address. I even greped the entire /etc looking for the old machine.

View 2 Replies View Related

Server :: Login / Passwords - Samba Config Files?

Jun 11, 2010

How to make a Server of LOGIN / PASSWORDS for flexible linux machines? Samba config files for the server and the client. The clients, if no network, shall use the /etc/shadow.

View 10 Replies View Related

Red Hat :: Role Of Zone Files In Bind9 Dns?

Dec 20, 2010

i am trying to setup a minimal bind9 dns on RHEL5.in /var/named/chroot/var/named/etc i have following files,after installing bind and caching-nameserver:

localdomain.zone
localhost.zone
named.broadcast

[code]....

View 3 Replies View Related

Ubuntu Servers :: Config - Change / Add From The Default OpenSSH Config Files To Get Tunnelling To Work?

Jul 10, 2011

I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:

Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.

View 3 Replies View Related

Fedora Networking :: Config The Httpd Apache Server To Upload Files

Jan 6, 2011

my task is to store the data to a file at server sent via HTTP POST, i written suitable cgi script in C, but the PROBLEM is that i can't complete the task, I guess i require server permission to do so, how to configure server or how to get access right from server to store data to a file.

View 3 Replies View Related

Server :: Uninstalling LAMP Components - Various Config Files And Made The Setup Unusable

Mar 22, 2011

I am slowly learning Linux by bringing up a server. Using tasksel, I installed the LAMP-server, which went fine. Now, however, I have mucked about with various config files and made the setup unusable. I'd like to do uninstall all of the LAMP packages and do a clean (and more thoughtful) install. Here's the problem: tasksel returns an "aptitude failed (100)" error. I have search various forums and all of the help related to this error (which I can't actually find *explained* anywhere) is related to installing packages. I tried them anyway, without success. man pages and the stack of manuals I have don't seem to be of much help either.

- describe what the error message means?
- a way to remove the packages or the config files by hand?

View 3 Replies View Related

Server :: Proxy Server Software Based On Simple Logging Requirements

May 18, 2010

we need to log web access of a certain set of users for analysis. We decided to setup a proxy server which just logs all the requests but does not do anything else like caching/access control etc.All users will be using a fixed set of computers and hence we can redirect their requests to the proxy. I came across Squid, but found it to be too heavy for our requirements. Is there any other proxy-server software that is good enough for what we want or is Squid the only way?

View 1 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

CentOS 5 :: Svn Server Config - Understanding Location Svnpath Parameter On Svn Config

Sep 7, 2009

I was tryin to deploy svn on centos 5 with respect to [URL] I am stuck understandin the location svnpath parameter on svn config

[Code]...

View 1 Replies View Related

Ubuntu Installation :: PC Requirements For Server 11.04

Jul 13, 2011

I'm using Intel atom 1.8 Ghz, RAM 4GB, but it took 12 hours to install ubuntu server 11.04. Can U guys tell me PC requirements to install it?

View 9 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

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

Software :: Linux Mail Server Requirements

Nov 25, 2010

We are looking at installing a linux server in the office, the requirement for the same are.All sent items of any users but be sent like a bcc or a copy to a common management id. All sent items must be saved with a copy.There would be only 1 email id on the remote server and mailman would have then to distribute the emails when it downloads are this possible in linux if yes please suggest me which email software would support this and has anyone done this before with spam assaign etc.

View 1 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

OpenSUSE Network :: Lamp Server With Specific Requirements For PHP

Oct 23, 2010

I'm needing to stand up a Lamp server for a SugarCRM migration. I've been told I need to ensure php 5.2 on the box along with ensuring several mod's are installed as well for php and apache. I was planning on using the lamp provided from xampp (apache friends) but they're current build is using PHP 5.3, any suggestions on how to get around it? If I have to build the whole thing from several packages (apache, php, mysql) then no problem, but I really like the myphpadmin page that comes with the xampp installer.

View 2 Replies View Related

Slackware :: Cups / Sane Server System Requirements

Jul 1, 2011

I have a 2010 model laptop running slackware 13.1, and after setting up a udev rule for my epson rx700 printer/scanner, this laptop can print to the rx700 without problems, and I can scan straight into gimp with xsane... I can even share the printer and scanner over my local lan.however when I pack up my laptop and hit the road, the other folks in the house cannot print or scan over the network anymore, so I tried to get an older desktop we have laying about to be the cups / sane server instead of my laptop.I tried a Dell Dimension 8300, and a Dell Optiplex GX 260. Both have USB 2.0 however, on fresh slackware 13.37 installs, even after the udev rule, neither old computer is successful finding the scanner with sane-find-scanner, although it is listed in output of lsusb.

does anyone know if there is a workaround on these older machines, or have there been some hardware changes in the last 8 years that the machines haven't undergone, and I should give up trying to get one to be cups/sane server for rx700..

View 6 Replies View Related

Server :: Bind9 - Setup To Get IP Address To Redirect To Domain

Oct 31, 2010

Location and syntax of named.conf in Ubuntu's version of BIND 9. I already have an HTTP server (in the form of Apache) along with forum software set up on my Acer netbook. However, the only way I can access the forum software is if I type in my IP address. How do I set up my named.conf to get the IP address to redirect to a domain? I already have my resolv.conf configured to allocate a domain to the IP address, but testing the ping of the site returns a "No such domain" error.

View 1 Replies View Related

Debian Configuration :: Setup A Bind9 Server For Home Network?

Mar 4, 2011

I'm trying to set up a bind9 server for my home network, I have all my IPs set to 10.0.0.X. I would like the forward and reverse to be simply "machinename", not "machinename.domain.com", as I don't want to type a domain everytime.

In my named.conf
zone "net.local" in {
type master;
file "/etc/bind/net.local.ns";
allow-update { none; };

[Code]...

View 1 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

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







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