Having issue configuring BIND, I've registered a domain at namecheap and created NS names e.g.
this program works
Code:
#include <mysql++.h>
#include <iostream>
#include <iomanip>
using namespace std;
MYSQL *connection, mysql;
MYSQL_RES *result;
MYSQL_ROW row;
int query_state;
int main() {
mysql_init(&mysql);
i'm using ubuntu 12.04 LTS
I want to host certain domain name, example.com to my server:
Note: i've replace the real domain name to example.com and the server ip to 198.23.xx.xx
$ vi resolv.conf
nameserver 8.8.8.8
$ vi named.conf.local
zone "example.com" {
type master;
file "/etc/bind/db.example.com";
};
zone "example2.com" {
type mast
I'm tryng to write a simple program c++ to connect to Mysql database based in my 127.0.0.1 server:
int main (void) {
cout << "\033[2J" << "\033[0;0f";
MYSQL mysql;
MYSQL *conn;
conn = mysql_init(&mysql);
cout << "conn = " << conn << "\n";
// cout << "mysql = " <
I have a backroom network ip 192.168.1. with Ubuntu server. I set up DNS about a year ago but it has never been reliable. I went through the documentation and checked all of the bind files but I can not get it to work properly. I do not get any errors when starting but I can not see the URL when I ping from my PC.
Hi I think this is a simple issue, I'd like to forward only to certain IPs in the LAN network, for example I have 2 acl lists:
acl "office1" {
192.168.1.15; // With internet access
};
acl "production" {
192.168.1.101; // No internet access
};
I know that there probably should be more efficient ways to restrict internet access, but at the moment this is what I'd like to try.Here's what
I've followed several tutorials on installing your own nameservers and I'm pretty much at my wit's end, because I cannot get them to resolve. Note, the actual domain and ip address has been changed for privacy to example.com and 192.168.0.1.
So I've been following the Samba4 HOWTO, which has gone reasonably well.
Hi all
I am trying to access mysql through a c program, bt am stuck with a specific error.