1

i tried the manual, but cant find how/if i can set it to answer single ip for all queries.

anyone tried any of these? which one works?

or any other smaller, secure bind alternatives?

tnx

nb. nsd: http://www.nlnetlabs.nl/projects/nsd/

DennyHalim.com
  • 491
  • 3
  • 10

2 Answers2

0

Try my evldns server framework.

There's an example program in that which always returns the same IP address for any IN A query.

Alnitak
  • 20,901
  • 3
  • 48
  • 81
0

ok i found it.

here how it goes with nsd:

add this to nsd.conf:

zone:
    name: "."
    zonefile: "root.zone"
    provide-xfr: 0.0.0.0/0 NOKEY
    provide-xfr: ::0/0 NOKEY

then create root.zone and fill it with:

$TTL 1H
@    IN     SOA  @ none. ( 11 1D 1H 1W 3H );
     IN     NS   @
     IN     A    1.2.3.4

then:

nsdc rebuild
nsdc reload

nb. you need to rebuild and reload everytime you change your zone file.

DennyHalim.com
  • 491
  • 3
  • 10