To match other providers, instead of initializing this instance variable here and referring to it as @host_dns, create a private method like this

    def host_dns
      @host_dns ||= {}
    end

To refer to the instance variable, just invoke the method.