Sha256: a5f253df796af5234f53f2ca5dbebc73a2b035287c70e62deb4c93544b05ce86

Contents?: true

Size: 702 Bytes

Versions: 17

Compression:

Stored size: 702 Bytes

Contents

config.log_file = "/tmp/devdnsd-test-log.log"

config.add_rule("match_1.dev", "10.0.1.1")

config.add_rule("match_2.dev", "10.0.2.1", :MX)

config.add_rule("match_3.dev") do "10.0.3.1" end

config.add_rule("match_4.dev", :CNAME) do "10.0.4.1" end


config.add_rule(/match_5_(\d+)\.dev/, "10.0.5.$1")

config.add_rule(/match_6_(\d+).dev/, "10.0.6.$1", :PTR)

config.add_rule(/match_7_(\d+).dev/) do "10.0.7.$1" end

config.add_rule(/match_8_(\d+).dev/, :PTR) do "10.0.8.$1" end


config.add_rule("match_9.dev") do false end

config.add_rule("match_10.dev", [:A, :MX]) do |match, type, transaction| type == :A ? "10.0.10.1" : "10.0.10.2" end


config.add_rule("quit.dev") do DevDNSd::Application.quit end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
devdnsd-2.4.0 config/devdnsd_config.sample
devdnsd-2.3.1 config/devdnsd_config.sample
devdnsd-2.3.0 config/devdnsd_config.sample
devdnsd-2.2.0 config/devdnsd_config.sample
devdnsd-2.1.0 config/devdnsd_config.sample
devdnsd-2.0.0 config/devdnsd_config.sample
devdnsd-1.7.0 config/devdnsd_config.sample
devdnsd-1.6.0 config/devdnsd_config.sample
devdnsd-1.5.2 config/devdnsd_config.sample
devdnsd-1.5.1 config/devdnsd_config.sample
devdnsd-1.5.0 config/devdnsd_config.sample
devdnsd-1.1.10 config/devdnsd_config.sample
devdnsd-1.1.9 config/devdnsd_config.sample
devdnsd-1.1.2 config/devdnsd_config.sample
devdnsd-1.1.1 config/devdnsd_config.sample
devdnsd-1.1.0 config/devdnsd_config.sample
devdnsd-1.0.3 config/devdnsd_config.sample