No records created
André Rodier
andre at rodier.me
Mon May 28 09:32:33 UTC 2018
Hello bind experts,
I am struggling to have bind working: no records are created, and I
have no errors in the logs, even when I use debug.
Here my zone definition file:
> $TTL 1h
> $ORIGIN homebox.space.
>
> @ IN SOA main.homebox.space. postmaster.homebox.space. (
> 1527498676
> 24h
> 2h
> 1w
> 2d )
>
> ;; Name Server and IP address mapping (GLUE)
> @ IN NS main.homebox.space.
> main IN A 92.19.253.42
> @ IN NS backup.homebox.space.
> backup IN A 92.19.253.42
>
> ;; Some aliases
> xxx IN CNAME main.homebox.space.
> yyy IN CNAME backup.homebox.space.
>
> ;; Test A records
> test1 IN A 92.19.253.42
> test2 IN A 92.19.253.42
>
> ;; Main A Record for where everything goes
> @ IN A 92.19.253.42
>
> ;; Mail Server MX (Mail exchanger) Record
> homebox.space. IN MX 5 main.homebox.space.
>
> ;; SMTP server IP address, MX should point to a proper A record
> smtp IN A 92.19.253.42
>
> ;; RFC 6186 entries, should point to an "A" record
> _submission._tcp 3600 IN SRV 0 0 587 smtp.homebox.space.
>
> ;; SMTP server IP address, MX should point to a proper A record
> imap IN A 92.19.253.42
> pop3 IN A 92.19.253.42
>
> ;; RFC 6186 entries, should point to an "A" record
> _imap._tcp 3600 IN SRV 10 0 143 imap.homebox.space.
> _imaps._tcp 3600 IN SRV 10 0 993 imap.homebox.space.
> _pop3._tcp 3600 IN SRV 20 0 110 pop3.homebox.space.
> _pop3s._tcp 3600 IN SRV 20 0 995 pop3.homebox.space.
>
> ;; SMTP server IP address, MX should point to a proper A record
> xmpp IN A 92.19.253.42
>
> ;; RFC 6186 entries, should point to an "A" record
> _xmpp-client._tcp 3600 IN SRV 5 0 5222 xmpp.homebox.space.
> _xmpp-server._tcp 3600 IN SRV 5 0 5269 xmpp.homebox.space.
>
But if I search for A or CNAME records, I have nothing, excepted "main"
and "backup" A records:
> root at homebox ~# dig homebox.space @127.0.0.1 any +multi +cmd
>
> ; <<>> DiG 9.10.3-P4-Debian <<>> homebox.space @127.0.0.1 any +multi +cmd
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10268
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 3
>
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags:; udp: 4096
> ;; QUESTION SECTION:
> ;homebox.space. IN ANY
>
> ;; ANSWER SECTION:
> homebox.space. 3600 IN A 92.19.253.42
> homebox.space. 3600 IN MX 5 main.homebox.space.
> homebox.space. 3600 IN SOA main.homebox.space. postmaster.homebox.space. (
> 1527499249 ; serial
> 86400 ; refresh (1 day)
> 7200 ; retry (2 hours)
> 604800 ; expire (1 week)
> 172800 ; minimum (2 days)
> )
> homebox.space. 3600 IN NS main.homebox.space.
> homebox.space. 3600 IN NS backup.homebox.space.
>
> ;; ADDITIONAL SECTION:
> main.homebox.space. 3600 IN A 92.19.253.42
> backup.homebox.space. 3600 IN A 92.19.253.42
>
> ;; Query time: 0 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Mon May 28 10:23:22 BST 2018
> ;; MSG SIZE rcvd: 193
>
Where this could come from?
More information about the bind-users
mailing list