dnscontrol/pkg/js/parse_tests/024-json-import.js
2019-05-23 09:26:40 -04:00

8 lines
133 B
JavaScript

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