News for hackers. Stuff that matters.
Re:EFF adds ASCII art to its DNS by dijit on Thursday March 13, 2014 @07:59PM (#7396041)
So, they don't use IP Telephony then?

You're aware you can add whatever you want into DNS, it doesn't have to mean anything that computers understand right? you /could/ make your A records the intro to Star Wars- but nobody will be able to use your site.

TXT is a much better option imho, or.. y'know, not doing this.

Re:EFF adds ASCII art to its DNS by MichaelGG on Friday March 14, 2014 @12:43AM (#7397026)
>So, they don't use IP Telephony then?

A lot of VoIP deployments simply ignore the whole DNS side of things, or at best use an A record. Especially in wholesale, it's IP only (using domains breaks some things), and authentication is based on IP, too. (Source IP on a UDP packet - very secure.)

Re:EFF adds ASCII art to its DNS by legind on Thursday March 13, 2014 @08:16PM (#7396127)
TXT isn't an option because the records themselves are unsorted. Use the above command without the pipe to sort looks weird, but not as weird as TXT would.
Re:EFF adds ASCII art to its DNS by LukeShu on Thursday March 13, 2014 @09:52PM (#7396490)
TXT records are actually variably-sized arrays of strings, making them very suitable for ASCII art. Unfortunately, `dig +short TXT` displays them as

    "string1" "string2" "string3"
instead of on separate lines. However, this is easily remedied with sed.

Using TXT for artwork also has the advantage that you don't risk an intermediate resolver re-ordering things.

Source: When this came up about a month ago: https://news.ycombinator.com/item?id=7185326

Re:EFF adds ASCII art to its DNS by Patrick_Devine on Friday March 14, 2014 @12:57AM (#7397073)
Unfortunately our DNS service doesn't allow NAPTR records, so we had to go the TXT route. Here's a large wooden object:

dig +short txt log.netkine.com | sed $'s/\" \"/\\\n/g'

Re:EFF adds ASCII art to its DNS by anon4 on Friday March 14, 2014 @07:27AM (#7398050)
I get this. I can't make out what it's supposed to be.

                         P!**9N#
                        9=  #(a:?4
                       {w   Tj(d w?#
                     @(d   !nPx   A>4
                    P=W  @{d :   9=w\;
                   V:   9a# td P:d  tj
                  {w  9=W# Px @=#  F=+
                @(d  {d  #@= P=   P=@:
               P=#  WJ#sjP:WP= a?tx(a#
              P=@=d  gawV= 9=     wawa\;?
             {w :    #9:w       @!9_axw
           @{d 1d P9:wd    P9na\;=# WSgmN
          P=W @=9=w    9{  # #:w   W4Wmm
         Pn  #(vj   P{aW    #{d     W4Dm
        !a P9nW    !w#     P:d        mW
      #{d@:w##    {d9:/4  P=
     P=WP=@=w/#  Px{J4Pd {a
    P\;H1w Aw9j#  :m?(J:W{d
   Ynwwaa*:wW## {d  9=V:d
   \;44#WWRav*# tj 9:d@=
   A?WW#W#W#w==d@(d !a
    A?WWUWQ#mNs4:W td
     As*XUW#UWNsj@:d
      #wv!W4W WW?=#
         bw?9*9!="
Re:EFF adds ASCII art to its DNS by dspig on Friday March 14, 2014 @07:48AM (#7398137)
a log...
Re:EFF adds ASCII art to its DNS by adefa on Friday March 14, 2014 @09:58AM (#7398713)
it's big, it's heavy, it's wood
Re:EFF adds ASCII art to its DNS by ten7 on Thursday March 13, 2014 @11:08PM (#7396749)
I really don't think you need to use NAPTR here. Using TXT works just fine, if you do a sort, if you prepend line numbers to the records. Alas, you still have to do a sort. It would be wonderful if there was a hack that involved not using the sort. Here's one I just added: dig txt art.ten7.com |sort
Re:EFF adds ASCII art to its DNS by dijit on Thursday March 13, 2014 @08:21PM (#7396154)
MX or with numbers then?
Re:EFF adds ASCII art to its DNS by ten7 on Friday March 14, 2014 @07:10AM (#7397980)
Numbers
Re:EFF adds ASCII art to its DNS by orik on Thursday March 13, 2014 @08:10PM (#7396096)
Well I guess I need a new alt. dns to provision phones with.
Re:EFF adds ASCII art to its DNS by voltagex_ on Thursday March 13, 2014 @08:40PM (#7396226)
Which clients use NAPTR? Can't you have a SRV record without NAPTR?