dnscontrol/pkg/js/parse_tests/024-json-import.js

9 lines
133 B
JavaScript
Raw Normal View History

var domains = require('./domain-ip-map.json')
var domain = "foo.com"
var ip = domains["foo.com"]
D(domain,"none",
A("@",ip)
);