#1  
07-06-2011, 04:16 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
Here's a minimalist entry for nsd.conf for low-end boxes. (Known to work on VPS with only 192MB RAM.)

Added instructions
~ Replace xx.xx.xx.xx with your server IP.
~ Change "secret" entry to unique random gibberish.

PHP Code:
# nsd.conf -- the NSD(8) configuration file, nsd.conf(5).
# Copyright (c) 2001-2006, NLnet Labs. All rights reserved.
# options for the nsd server
server:
ip-addressxx.xx.xx.xx
hide
-versionyes
ip4
-onlyyes

# the database to use
database"/etc/nsd3/nsd.db"
identity"Name (NSD) Server "

# log messages to file. Default to stderr and syslog.
logfile"/var/log/nsd.log"

# Number of NSD servers to fork.
server-count1

# Maximum number of concurrent TCP connections per server.
# This option should have a value below 1000.
tcp-count10

# Maximum number of queries served on a single TCP connection.
# By default 0, which means no maximum.
tcp-query-count20

# File to store pid for nsd in.
pidfile"/var/run/nsd3/nsd.pid"

# chroot: "/etc/nsd3"
# After binding socket, drop user privileges.
# can be a username, id or id.gid.
usernamensd

# The directory for zonefile: files.
zonesdir"/etc/nsd3"

# key for zone 1
key:
namemskey
algorithm
hmac-md5
secret
"dfkwehdgkshetlrhorhzvbyzd"

# Sample zone 1 (forward)
zone:
name"domainname.com"
zonefile"domainname.com.forward"
outgoing-interface: xx.xx.xx.xx 
Thanks to vpswing of WHT for his assistance.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Sample website designs for inspiration? admin Web Design + Site Planning 17 03-04-2011 06:34 AM
Hard drive RAID 0 configuration manthing Computers 3 03-30-2010 04:20 AM
Scanning with ICE vs no ICE [Sample Images] kpmedia Photo Processing, Scanning & Printing 11 03-25-2010 07:33 PM
Another menu sample - thoughts? gwors Author, Make Menus, Slideshows, Burn 2 06-05-2005 09:01 PM

Thread Tools



 
All times are GMT -5. The time now is 09:54 AM