#NEWLINE# def lookupAddress( self , name , timeout = None ) : #NEWLINE# #INDENT# res = searchFileFor ( self . file , name ) #NEWLINE# if res : #NEWLINE# #INDENT# return defer . succeed ( [ ( dns . RRHeader ( name , dns . A , dns . IN , name . ttl , dns . Record_A ( res , self . ttl ) ) , ) , ( ) , ( ) ] ) #NEWLINE# #UNINDENT# return defer . fail ( failure . Failure ( dns . DomainError ( name ) ) )