Ubuntu Servers :: Bind DNS And Apache ?

May 10, 2011

I was wondering if anyone knows how to make a zone file for bind dns server that points "example.com" and all (by all i mean any) sub-domains to this 127.0.0.1 address. and i wanted to set up a virtual host in apache to use /var/www/eample/index.php for 'example.com' and all of its sub-domains.

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: Home Web Server - Cant Set Up Apache As Named Server Using Bind DSN

Dec 7, 2010

I and setting up a home web server using Ubuntu 10.04 server (local only). I am currently using Webmin 1.53 to access it remotely all is going great very easy to use. Webmin - Check, ftps-fileZilla - Check, Apache -It Works BUT I cant seam to set up Apache as a named server using Bind DSN. Tried most of the help in the fourms and ..... I think my problems is in the master server selection, do i have to use [URL]... or can i just use myservername. I have tryed both with no luck. First time with the server addition.

[code]...

View 6 Replies View Related

Server :: Apache User Cannot Bind Port

Nov 7, 2010

I want to run a soft that is daemonized, and listens on port 6789. This soft is launched through a php page, so, by the apache user. The probl�me is that the apache user does not has rights to open / listen on a port. I tried to add apache user to the root group, but it won't help. In the application log, I have this every second :

[code]...

I tried to add apache user in the sudoers with a nopasswd but it's still a no go.

View 4 Replies View Related

Server :: Bind Apache To Specific IP Addresses?

Nov 28, 2010

I have the following in my httpd.conf file

Code:
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive. Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#Listen 12.34.56.78:80 Listen 80

And when I try to start the server, I get the following

Code:
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80. I did have an Apache web server up and running about 6 or 7 years ago - but seem to have lost everything

View 4 Replies View Related

Ubuntu Servers :: Bind Phpmyadmin To Localhost Only?

Mar 18, 2010

Have basic LAMP setup on 9.10 box. I want to have a publicly accessible website AND I want to have phpmyadmin available. The only thing is I would rather not have the phpmyadmin interface available on the internet. I usually open a ssh port forwarded tunnel when I need to use phpmyadmin on this server. I want to add a directive to make phpmyadmin bind only on localhost. I have found the phpmyadmin config file in /etc/apache2/conf.d

phpmyadmin.conf -> ../../phpmyadmin/apache.conf

I have tried adding some LISTEN directives, but apache does not like my directives-- I am obviously not doing it right. I have looked for a bit on the internet and can't find out how to disable external access to a configured site in Apache.

View 2 Replies View Related

Ubuntu Servers :: Config Bind DNS With MySQL?

Jul 15, 2010

I have searched some about Bind9 and have it installed in my server. Now I'm looking for a Tools like mysqlBind and I found unxsBind is the next version of mysqlBind (These tools help you config BIND DNS with MySQL). But the issue is: I don't know how to Install it in Ubuntu - there just say how to install with Centos.

View 2 Replies View Related

Ubuntu Servers :: BIND The DNS Memory Consuming?

Nov 13, 2010

bind9 is taking a lot of the RAM

process info:

ID Owner Size Command
17559 root 290396 kB /usr/sbin/named -c /etc/bind/named.conf

View 9 Replies View Related

Ubuntu Servers :: Bind-server With SQL In The Repositories?

Jun 19, 2011

I need a bind-server (I mean DNS server) with a SQL backend. As far as I have seen, the only viable option I have is to recompile bind9 with support for either MySQL or PostGre.

Link to this: [URL]with an additional

Code:
apt-get install libpqxx3-dev

From some tutorials I have read, I see I need to recompile it to enable its SQL support.

But when I do it that way, I won't get any security updates, won't I?

So... Is there any bind server with SQL support in the repositories ? For that I don't have to worry about security updates...

View 1 Replies View Related

Ubuntu Servers :: Bind Fails First Attempt, Then Works?

Jan 10, 2011

I'm having an issue with a BIND server. After a restart, (or randomly, I assume whenever a cache expires,) when I try to resolve any domain I get a "Host yahoo.com not found: 2(SERVFAIL)" Eventually it starts working and works fine till the cache expires again;

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Bind Slave Tries To Update From Gateway?

Jan 21, 2011

I have 2 nameservers setup, a master and a slave. when I first setup the slave, I restarted bind9 and all of the zone records propagated just fine. Today, I updated one of the records on the master (no problems), but when I restarted bind9 on the slave it gave me a FAILED message. I checked the log and it was trying to receive notify's from my gateway address (192.168.10.1), and got "Failed to update from non-master". I did some research and found several people having a similar problem, but their slaves were trying to update from their own IP, not from the gateway IP. I tried their solution (allow-notify { 192.168.10.1; }) but all that did was allow the slave to restart bind without errors, it still doesn't update the records. It says "zone is up to date" but it's not.

IP's are:

Gateway 192.168.10.1
Master 192.168.10.200
Slave 192.168.10.201

All of my zone records have the masters statement set to 192.168.10.200 I don't know how it even came up with the gateway address

View 3 Replies View Related

Ubuntu Servers :: 10.10 - Bind 9 Not Accepting DNS Client Queries

Feb 13, 2011

However I just built a 10.10 server, installed webmin, vmware, and the server is working perfectly. I configured my bind 9 server using the latest webmin and on the server everything resolves perfectly to both the internet and lan. I have it set to 127.0.0.1, the server ip address is 10.1.50.25. However, it will not accept dns client queries in which they cannot resolve to the lan or internet. I have the dhcp giving out the dns server 10.1.50.25. NSLOOKUPS from the client show query refused. I know there has to be some setting or config that will allow clients to query but I am not able to locate it, and I am not totally knowledgeable of named.conf and been all through the webmin module and configuration settings.

View 6 Replies View Related

Fedora :: Get BIND Running On One Of Our F10 Servers?

Aug 12, 2009

I'm trying to get BIND running on one of our Fedora 10 servers, since we've had some issues with the DNS from our service provider. This BIND server is not authoritative for any domain, it's merely for caching purposes. I used the sample DNS file at [URL].., and modified it slightly with our internal IP addresses.

I'm getting the following errors when I do service named start:

Error in named configuration:
zone localhost/IN: loading from master file master.localhost failed: file not found
_default/localhost/in: file not found
zone 0.0.127.in-addr.arpa/IN: loading from master file localhost.rev failed: file not found
_default/0.0.127.in-addr.arpa/in: file not found

I also tried changing the line directory "/var/named"; To the /var/named/chroot/var/named directory with the same result.

View 4 Replies View Related

Networking :: Setup 2 BIND Servers?

Sep 10, 2010

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

View 6 Replies View Related

Ubuntu Servers :: Vsftpd: Symbolic Links Or Mount Bind?

May 21, 2010

I'm setting up an ftp server with lucid server. A lot of the folders that should be accessible via the ftp are in different directories (and can't be moved without a LOT of hazzle) and I have to either symlink or mount bind them to the ftp chroot dir. Now I'm wondering which one is the saver variant? My guess is mount bind, but I'm not that familiar with the internal workings of linux and vsftpd (plus for symlinks I wouldn't have to change/create any scripts, just create them once...),

View 1 Replies View Related

Ubuntu Servers :: Bind : ANAME To Server 2 Not Forwarding Externally?

Dec 8, 2010

I have 2 servers operating on my home network. One server hosts Bind9 and a few web sites. The other is an Ubuntu repo mirror that I recently configured (10.1.10.26). Inside my network, requests to the olyubuntu.nwlinux domain function as it should. However, external requests do not get forwarded. Instead, they end up at my DNS box at 10.1.10.25. Again, internal requests are forwarded correctly.Any red flags pop-up as to why this is occurring? Firewalls are not an issue.

Code:
$ORIGIN nwlinux.com.
$TTL 86400[code].....

View 3 Replies View Related

Fedora Servers :: BInd DNS Server Not Accessible To Other?

Sep 22, 2009

I am working on fedora 10 and configured dns on my college lan which already has it's dns at 192.168.5.20 .So i configured my private dns server at 192.168.101.91 which is my ip too.And the domain name is the host name of my system for example server.onkie.com.MY dns port 53 is shown when i do nmap localhost but but doesnt show when i do nmap 192.168.101.91 .Also when tested my server on other computers on my lan with there primary dns as 192.168.5.20 and secondary as 192.168.101.91 they cant access my site at my system with the name [URL].. . nmap localhost

Starting Nmap 5.00 ( http://nmap.org ) at 2009-09-22 21:24 IST
Interesting ports on onkar (127.0.0.1):
Not shown: 993 closed ports
PORT STATE SERVICE
22/tcp open ssh
53/tcp open domain ----the dns is running

[Code]...

I already disabled my selinux and iptables ..but then also it's not accessible in Lan .

View 1 Replies View Related

Fedora Servers :: Installing A DNS Server On 13 Running Bind

Jun 9, 2010

I'm thinking about installing a DNS server on Fedora 13 running bind. I looked around for available bind packages and found only these:

Now the first one contains bind utils the second one is for running DNS in a chroot env and the last one is a bind with some DB backend.

Does this mean that fedora 13 doesn't support/.provide "standard" bind server (I mean the one to run without chroot/without db backend) ? Or am I missing anything in my repolist which is :

View 5 Replies View Related

Fedora Servers :: Mysql Driver For Bind In RPM Format?

May 14, 2011

anyone come across a mysql driver for Bind that is already in RPM format? I know there is one that you can compile, but i was just curious if anyone knew of a MAINTAINED package that does that same thing?

==Edit== While i'm at it, does anyone know of a way to have bind call a STORED PROCEDURE, instead of directly querying a table? That'd be sweet. --Or, even having bind query a php file, or a webhost, would be good... I'm going to google that one now....

==Edit== Screw the mysql driver: [URL]

how to use php to serve dns requests...

View 1 Replies View Related

Ubuntu Servers :: Creating Virtual Apache Servers?

May 3, 2010

I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.

View 5 Replies View Related

Fedora Servers :: FC11 Cannot Start BIND After Upgrade From FC10

Jul 8, 2009

I'm having a problem getting BIND to start after doing the FC10->FC11 upgrade. Others have been reporting some bad symbolic links, but this isn't that problem. I've searched the forums here, but I don't see anything like this anywhere.

Here's what I see:

Code:

[root@atomu etc]# /etc/init.d/named start
Starting named: [FAILED]

So, no error message. Logs read as follows:

Code:

Jul 8 00:38:00 atomu named[2414]: starting BIND 9.6.1-RedHat-9.6.1-2.fc11 -u named
Jul 8 00:38:00 atomu named[2414]: built with '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'

[code]....

View 4 Replies View Related

Fedora Servers :: BIND Detect Client Machine Name Automatically?

Aug 10, 2009

When DNS server is configured on Windows server, it will automatically detect and catch computer names and IP address. With Linux (BIND), I have to enter each clients manual under zone file. example (computer1 IN A 10.10.1.4). is there anyway to make Linux detect client automatically as windows does?

View 6 Replies View Related

Fedora Servers :: HTTPD Service Does Not Start - Could Not Bind To Address

Nov 17, 2010

I have one problem regarding my web server. When I am try to restart my httpd service it shows...

[root@localhost ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs [FAILED]
[root@localhost ~]#

View 2 Replies View Related

Fedora Servers :: BIND Dynamic Updates By DHCPD Not Working In 14?

Nov 28, 2010

The problem is that I have set up a test installation with DHCP server and DNS server on Fedora 14 and want to set up dynamic updates from the DHCPD to the NAMED. The problem is that any attempts to make updates of the DNS server fails with a "SERVFAIL" error. I can not even update it through the NSUPDATE tool. This is NAMED.CONF:

Code:
options {
directory "/var/named";

[code]....

View 3 Replies View Related

Software :: Zone Transfers For Load-balanced BIND Servers?

May 13, 2010

I am planning to implement hardware load-balanced DNS servers. There will be one master and three slaves in the server farm. I will have two virtual servers associated with the server farm that will be listed as external nameservers for our domain.

BIND uses the list of NS records to determine the servers that need zone transfers. The zone NS records will not be the addresses of any of the real servers. How do I tell the master to do zone transfers to the real slave servers?

View 1 Replies View Related

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.

View 1 Replies View Related

Fedora Servers :: OpenVPN - Socket Bind Failed On Local Address

May 4, 2011

I finally got the certs to configure:
openvpn --config server.conf
Tue May 3 17:26:27 2011 OpenVPN 2.1.1 i686-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Jan 5 2010
Tue May 3 17:26:27 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 3 17:26:27 2011 Diffie-Hellman initialized with 1024 bit key
Tue May 3 17:26:27 2011 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue May 3 17:26:27 2011 ROUTE default_gateway=192.168.122.1
Tue May 3 17:26:27 2011 TUN/TAP device tun0 opened
Tue May 3 17:26:27 2011 TUN/TAP TX queue length set to 100
Tue May 3 17:26:27 2011 /sbin/ip link set dev tun0 up mtu 1500
Tue May 3 17:26:27 2011 /sbin/ip addr add dev tun0 local 10.8.0.1 peer 10.8.0.2
Tue May 3 17:26:27 2011 /sbin/ip route add 10.8.0.0/24 via 10.8.0.2
Tue May 3 17:26:27 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue May 3 17:26:27 2011 Socket Buffers: R=[114688->131072] S=[114688->131072]
Tue May 3 17:26:27 2011 UDPv4 link local (bound): [undef]:1194
Tue May 3 17:26:27 2011 UDPv4 link remote: [undef]
Tue May 3 17:26:27 2011 MULTI: multi_init called, r=256 v=256
Tue May 3 17:26:27 2011 IFCONFIG POOL: base=10.8.0.4 size=62
Tue May 3 17:26:27 2011 IFCONFIG POOL LIST
Tue May 3 17:26:27 2011 Initialization Sequence Completed

But openvpn still won't start; where to go from here.
Tue May 3 17:54:25 2011 TCP/UDP: Socket bind failed on local address 192.168.122.3:1194: Address already in use
Tue May 3 17:54:25 2011 Exiting

View 3 Replies View Related

Server :: What Is Bind Vs Bind-chroot Vs Caching-nameserver?

Jul 8, 2011

what is bind vs bind-chroot vs caching-nameserver ?what is the different between eatch others ?

View 7 Replies View Related

General :: Setup Virtual Machines To Be Servers With Bind Option Set To A Multicast Group Address Of 225.0.62.87?

Mar 28, 2010

I am in verse to test "Multicast Packet filtering".I want to setup Virtual Machines to be servers with bind option set to a multicast group address of 225.0.62.87.Then I want to configure the client VM, connecting to the multicast group address and setting the TTL as needed.

View 3 Replies View Related

Ubuntu Servers :: Completely Chroot Enviornoment Where Every Single Service Is In Chroot Mode (bind,mysql, Postfix)?

Jul 12, 2011

recently we decided to make our own panel (like Plesk or cPanel) but for Ubuntu and it will be licenced under GPL (like any other professional sofware).want to make a panel not only that fits our needs but also the needs of other system administrators and domain owners. We researched other panels and found out that non of them has security/look/ease of use in one package. Bad codig is another problem found in other panels.I made a short overwiev of what I think we have to have in the beginning.I Security :1. Completely chroot enviornoment where every single service is in chroot mode (bind,mysql, postfix, .... )2. Easily managed IPtables trough web-based interface. 3. Coding rules has to be strict.

II Software selection :
1. MTA - Postfix
2. POP - dovecot

[code]....

View 7 Replies View Related

Ubuntu Servers :: Php 5 Won't Install Into Apache 2.2.15

Apr 23, 2010

I've run into a problem and I don't know if it's apache or php or the combination of both. I can compile apache 2.2.15 just fine, but whenever I try to compile php 5.3.2 into my server, the first two steps work just fine but when I get to the make install part it shows the libphp5.so and it just stays there and I have to cancel the install because it won't finish.

View 5 Replies View Related







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