All pastes #397320 Raw Edit

alecs

public text v1 · immutable
·published 2007-03-16 12:14 UTC
rendered paste body
my named.conf file 


options {
	directory "/var/lib/named";
	dump-file "/var/log/named_dump.db";
	statistics-file "/var/log/named.stats";
#	listen-on-v6 {};
	notify yes;
	recursion no;
	query-source address * port 53;
	include "/etc/named.d/forwarders.conf";
};

zone "gremlin.ro" {
	type master;
	file "master/gremlin.ro";
	notify yes;
};

zone "poze.ro" {
	type master;
	file "master/poze.ro";
	notify yes;
};

zone "0.0.127.in-addr.arpa" {
	type master;
	file "127.0.0.zone";
	allow-update { none; };
};

#logging {
#	channel log_file {
#		file "/var/log/dnsserver" size 4096M;
#		syslog user;
#		severity info;
#	};
#
#	category queries { log_file; };
#
#	channel syslog_errors {
#		syslog user;
#		#file "/var/log/dnsserve" size 4096M;
#		severity error;
#	};
#	    
#	category lame-servers { null; };
#	category xfer-in { log_file; };
#	category xfer-out { log_file; };
#	category default { log_file; };
#};


my 127.0.0.zone
$TTL 1W
@               IN SOA          localhost.   root.localhost. (
                                42              ; serial (d. adams)
                                2D              ; refresh
                                4H              ; retry
                                6W              ; expiry
                                1W )            ; minimum
																
                IN NS           localhost.
1               IN PTR          localhost.


my forwarders.conf 

# Copyright (c) 2001-2004 SuSE Linux AG, Nuernberg, Germany.
# All rights reserved.
# Forwarders file for PPPD updates (only)
#
# /etc/named.d/forwarders.conf 

forwarders {};


my gremlin.ro file 

$TTL 3D
@       IN      SOA     gremlin.ro. root.gremlin.ro. (
			199609206       ; serial, todays date + todays serial #
			8H              ; refresh, seconds
			2H              ; retry, seconds
			4W              ; expire, seconds
			1D )            ; minimum, seconds
	        NS      gremlin.ro.
		;NS      ns2.psi.net.
		MX      10 gremlin.ro.  ; Primary Mail Exchanger
		TXT     "Gremlin Advertising"
localhost       A       127.0.0.1
router          A       86.35.130.83
gremlin.ro.     A       86.35.130.83
ns              A       86.35.130.83
www             A       86.35.130.83
ftp             CNAME   gremlin.ro.
mail            CNAME   gremlin.ro.
news            CNAME   gremlin.ro.
funn            A       86.35.130.83

;
;       Workstations
;

;ws-177200       A       206.6.177.200
;                MX      10 land-5.com.   ; Primary Mail Host



my localhost zone
$TTL 1W
@		IN SOA	@   root (
			42		; serial (d. adams)
		    	2D		; refresh
			4H		; retry
			6W		; expiry
			1W )		; minimum
					
		IN NS		@
		IN A		127.0.0.1

my poze.ro zone 

$TTL 3D
@       IN      SOA     poze.ro. root.poze.ro. (
	199609206       ; serial, todays date + todays serial #
	8H              ; refresh, seconds
	2H              ; retry, seconds
	4W              ; expire, seconds
	1D )            ; minimum, seconds
	        NS      poze.ro.
		;NS      ns2.psi.net.
		MX      10 poze.ro.  ; Primary Mail Exchanger
		TXT     "Gremlin Advertising"
localhost       A       127.0.0.1
router          A       86.35.130.83
poze.ro.     	A       86.35.130.83
ns              A       86.35.130.83
www             A       86.35.130.83
ftp             CNAME   poze.ro.
mail            CNAME   poze.ro.
news            CNAME   poze.ro.
funn            A       86.35.130.83