Dragon Nest Blocks are a result of two Ice/Fire Dragons breeding. Two dragons can be bred if they are opposing genders and stage four or higher, by crafting and utilising Lily Mixture. They are bred in the same manner as other vanilla animals. Upon breeding, female dragons will create a nest and lay their eggs in there.
See Lily Mixtures for breeding dragons.