Class DnsRecordConverter

java.lang.Object
org.apache.camel.component.dns.types.DnsRecordConverter

@Converter(generateLoader=true) public final class DnsRecordConverter extends Object
More converters for all the DNS objects used by the DNS component.
  • Method Details

    • toRecord

      @Converter public static org.xbill.DNS.Record toRecord(String ip) throws IOException
      Parameters:
      ip - like "192.168.1.1"
      Returns:
      the complete DNS record for that IP.
      Throws:
      IOException