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
ADVERTISEMENT
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
May 4, 2011
I try to access my mysql in webmin but i cant see it in Servers submenu.My mysql is already started.I can search the mysql in webmin search bar.I just want the mysql be place under Servers submenu..
View 1 Replies
View Related
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
Dec 20, 2010
don't find box of BIND so i was posting into this boxI have some problem when i config bind DNS for my domain and then i can't start named,this's error message
[root@server1 named]# service named restart
Stopping named: [ OK ]
Starting named:
[code]....
View 1 Replies
View Related
Mar 15, 2011
I'm trying to create a cname in system-config-bind. I can create the record but when I go to save it I get a "Zone file save error".
Here's the full output:
Save of Zone file var/named/chroot/var/named/plantsareperfect.com.db failed
dns_master_load_/var/named/chroot/var/named/plantsareperfect.com.db:10lantsareperfect.com:cname and other data (sorry, the rest is off the page and I cant see it)
Why I can't save this cname?
View 6 Replies
View Related
Aug 16, 2010
Not sure why but I keep on getting the ERROR: Path is not writable when I'm trying to add a Slave Zone.
The server was commissioned by someone else and I remotely installed GNOME group, and vncserver as per the official CentOS instructions here.
Initially I tried using a normal (ie non root) user's credential for my VNC session. However, instead of asking me for my root password when I tried to open system-config-bind, it just doesn't load up. I ended up allowing the user "root" to connect to the server remotely via VNC, and was able to get system-config-bind to start.
However, I am now unable to save the settings, despite having done:
Code:
View 3 Replies
View Related
Jan 26, 2010
Got these messages in syslog:
Code:
Jan 26 15:24:58 marconi named[28544]: starting BIND 9.6.1-P2 -u bind
Jan 26 15:24:58 marconi named[28544]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool'
[Code]....
This is BIND 9.6.1-P2 running on Ubuntu Server 9.10. When I move all the files from /var/bind into /etc/bind (replacing the symlink that was at /etc/bind), and change all instances of "/var" to "/etc", then it works. It seems to be the symlink that is doing it. Yet I need to get this moved over to "/var" and the Ubuntu packagers built it to use "/etc/bind".
Also, when I su to user "bind" and run "md5sum /etc/bind/named.conf" (with the symlink in place) it is able to read it just fine. Other users can read it just find. It's the "/usr/sbin/named" program that can't.
View 2 Replies
View Related
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
Jun 17, 2010
I have MySQL installed on my Kubuntu 10.04 desktop machine which I use for developing web applications.First, all worked fine. But then I wanted to synchronize the database with the MySQL database on my laptop, so I had to allow connections from the LAN interface. So I addedCode:bind-address =192.168.0.100to /etc/mysql/my.cnf. This worked and the synchronization was performed. I want to do this on a regular basis so I would like to keep that line in there.The problem now is that MySQL does not start on system boot. When I start up, mysql simply is not started. There are no errors in /var/log/mysql/mysql.err or /var/log/mysql.err; these files remain empty.When I try to start it using 'sudo start mysql' I get the same result. The 'start mysql' shows up in 'ps aux', but the mysql process itself does not.Now, I found out that when I run
Code:
sudo -u mysql mysqld
The mysqld daemon does start, and the server works fine. To make matters even more strange, if I kill this
[code]....
View 2 Replies
View Related
Jan 21, 2011
I have some trouble when I build a DNS server. I need use mysql stored procedure work with the bind dlz mysql driver, but failed.
dlz "Mysql zone" {
database "mysql
{host=127.0.0.1 dbname=dnsdata ssl=false}
{select domain from domains where domain='$zone$' LIMIT 1}
[code]....
View 1 Replies
View Related
Jun 17, 2010
I have installed Mysql in Ubuntu 9, for the use of roundcube database.After installing iam getting the error like this
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
So because of this in the roundcube configuration its giving the error message that MYSQL is not installed. So Kindly give me a idea how to solve this.
View 1 Replies
View Related
Jan 14, 2011
i was trying to allow remote access to mysql by following mysql was running perfectly until i got here :
Code:
/sbin/iptables -A INPUT -i eth0 -s 192.168.1.0/24 -p tcp --destination-port 3306 -j ACCEPT
i changed my.cnf bind-address line to : "bind-address = 127.0.0.1" and nothing
[code]....
View 4 Replies
View Related
Apr 30, 2009
We have been struggling with a problem with the mysql-server package. This might be in the wrong category because our problems are with it on x86_64. Where the problem happens variables that should populate from the my.cnf don't, on other servers, they do, the my.cnf files are identical except for the server-id
The problem occurs on some of our machines but not others. All are using the mysql-server-5.0.45-7.el5.x86_64 The ones that work, when you connect with a client respond with server version 5.0.45-log source distribution The ones that don't work respond with 5.0.45 source distribution
It's unclear what the differences are between the two source versions and how we wind up with two different versions. One thing that might be involved, the mysql package is installed with both the i386 and x86_64
View 1 Replies
View Related
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
View Related
Jun 15, 2011
I recentled upgraded all the packages on my server and now I have an issue where I can't get any thing to install or uninstall do to errors, This is what I get:
praetorian@praetorian:~$ ps ax | grep dpkg
7330 pts/1 Ss+ 0:00 /usr/bin/dpkg --status-fd 21 --configure bind9 cups cups-bsd
7331 pts/1 S+ 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/bind9.postinst configure 1:9.7.3.dfsg-1ubuntu2
[code]....
View 9 Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
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
Jul 28, 2009
I am trying to get mysql to start at boot without any success.
The mysqld scripts works fine when run from the command line, but it does not work when i use the links created by chkconfig. I checked the boot.log and found that mysql starts but then it stops or gets shutdown. This is the log message:
Starting mysqld daemon with databases from /data/mysql [ OK ]
Starting cups: [ OK ]
STOPPING server from pid file /var/run/mysqld/mysqld.pid
starting DenyHosts: /usr/bin/denyhosts.py --daemon --config=/usr/share/denyho
sts/denyhosts.cfg
090727 04:35:47 mysqld ended
The same init script works fine in Ubuntu.
View 2 Replies
View Related
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