Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-09-2003, 11:16 AM   #1
Zgirl
Registered User
 
Join Date: Mar 2003
Posts: 24
Help Setting Up A Secondary DNS

hey all,

how would i make a secondary dns server? I'm running redhat linux and bind 9.2.1

I got a few ip addresses assigned to me, i think all i have to do is add my ip in /etc/resolv.conf
this is the contents of this file:
nameserver 1.1.1.1
nameserver 2.2.2.2

1.1.1.1 works prefectly but 2.2.2.2 doesn't,
i believe i have to add it in /etc/conf as a "listen-to" statement..
any help would be appreciated

thanks
Zgirl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 11:48 AM   #2
dirtysouth
Confirmed User
 
Join Date: Jul 2003
Location: Mobtown
Posts: 2,613
Add this to etc/named.conf

zone "yourdomain.com" IN {
type master;
file "/var/named/yourdomain.com.hosts";
};

Navigate to /var/named/

Create a file called yourdomain.com.hosts

Add this:

$ttl 34800
;
;
;yourdomain.com.hosts
;

@ IN SOA yourdomain.com. webmaster.yourdomain.com. (
2003070801
1200
120
1209600
1200 )
;Define the nameservers
IN NS your.nameserver.com.


;Define the hosts in this zone
www.yourdomain.com. IN A 12.34.56
yourdomain.com. IN A 12.34.56


;Define the aliases in this zone
*.yourdomain.com. IN CNAME yourdomain.com.
yourdomain.com. IN CNAME yourdomain.com.


Then restart named (BIND).
__________________
no sig
dirtysouth is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 11:51 AM   #3
OFFBEAT
Confirmed User
 
Join Date: Jul 2003
Location: Los Angeles, CA, US
Posts: 398
DNS is so complicated.
OFFBEAT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2003, 12:03 PM   #4
Zgirl
Registered User
 
Join Date: Mar 2003
Posts: 24
would this work?

$TTL 86400

@ IN SOA ns1.mydomain.com. ns2.mydomain.com. ns3.mydomain.com. (
1059542250 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Minimum

mydomain.com. IN NS ns1.mydomain.com.
mydomain.com. IN NS ns2.mydomain.com.
mydomain.com. IN NS ns3.mydomain.com.
ns1.mydomain.com. IN A 1.1.1.1
ns2.mydomain.com. IN A 1.1.1.2
ns3.mydomain.com. IN A 1.1.1.3
mydomain.com. IN A 1.1.1.1
www.mydomain.com. IN CNAME mydomain.com.

would that be all i have to do?
btw: 1.1.1.1 will be mydomain.com and on that same ip i got my dns server running, which works.
Zgirl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.