Discussion:
How to define a name with an empty RRset?
(too old to reply)
Alessandro Vesely
2020-04-29 10:22:40 UTC
Permalink
Hi all,

the doc says each node has a set of resource information, which may be empty.
But how do I create such a node? If I just write, say:

an-emty-name.example.com.

named-checkzone complains about unexpected end of input.

NULL is not usable in master files. For the time being, I try:

an-emty-name.example.com. IN RP . .

However, querying ANY reveals that the name is not actually empty.

Is there a specific syntax to create an empty name?


Best
Ale
--
Ondřej Surý
2020-04-29 10:26:18 UTC
Permalink
Hi,

to create a empty non-terminal (ENT) you should do:

non-empty.an-empty-name.example.com. IN TXT <data>

Ondrej
--
Ondřej SurÃœ
Post by Alessandro Vesely
Hi all,
the doc says each node has a set of resource information, which may be empty.
an-emty-name.example.com.
named-checkzone complains about unexpected end of input.
an-emty-name.example.com. IN RP . .
However, querying ANY reveals that the name is not actually empty.
Is there a specific syntax to create an empty name?
Best
Ale
--
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
bind-users mailing list
https://lists.isc.org/mailman/listinfo/bind-users
Alessandro Vesely
2020-04-29 11:13:46 UTC
Permalink
Great!

Thank you Ondrej

Ale
Post by Ondřej Surý
Hi,
non-empty.an-empty-name.example.com. IN TXT <data>
Ondrej
--
Ondřej Surý
Post by Alessandro Vesely
Hi all,
the doc says each node has a set of resource information, which may be empty.
an-emty-name.example.com.
named-checkzone complains about unexpected end of input.
an-emty-name.example.com. IN RP . .
However, querying ANY reveals that the name is not actually empty.
Is there a specific syntax to create an empty name?
Best
Ale
--
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
bind-users mailing list
https://lists.isc.org/mailman/listinfo/bind-users
Scott Morizot
2020-04-29 12:15:37 UTC
Permalink
Post by Alessandro Vesely
Hi all,
the doc says each node has a set of resource information, which may be
empty.
an-emty-name.example.com.
I believe that's a reference to empty non-terminals. If you created, for
instance, an AAAA record for

new-server.an-empty-name.example.com

in the example.com zone and there were no entries specifically for
an-empty-name.example.com, the node an-empty-name.example.com would exist
in DNS, because it's part of the AAAA resource record,
new-server.an-empty-name.example.com, but would have no resource records
associated with it. So a query for any resource record type for the name
an-empty-name.example.com would return a NOERROR response with 0 answers.

HTH,

Scott

Loading...