When setting up load balancing in AWS it gives you an A record to add to your DNS which is a domain name since the load balancer might change IP addresses. When trying to add this to dnsd it does not pass the regex for the IP address in the encode.js file.
When trying to mess with this file I can get it to stop crashing but not to actually work and fulfill the DNS request as I'm not generating an Array with a list of each match.
From Amazon
$INSTANCE_NAME.us-east-1.elb.amazonaws.com (A Record)
ipv6.$INSTANCE_NAME.us-east-1.elb.amazonaws.com (AAAA Record)
dualstack.$INSTANCE_NAME.us-east-1.elb.amazonaws.com (A or AAAA Record)
Note: Because the set of IP addresses associated with a LoadBalancer can change over time, you should never create an "A" record with any specific IP address.
When setting up load balancing in AWS it gives you an A record to add to your DNS which is a domain name since the load balancer might change IP addresses. When trying to add this to dnsd it does not pass the regex for the IP address in the encode.js file.
When trying to mess with this file I can get it to stop crashing but not to actually work and fulfill the DNS request as I'm not generating an Array with a list of each match.
From Amazon
$INSTANCE_NAME.us-east-1.elb.amazonaws.com (A Record) ipv6.$INSTANCE_NAME.us-east-1.elb.amazonaws.com (AAAA Record) dualstack.$INSTANCE_NAME.us-east-1.elb.amazonaws.com (A or AAAA Record)
Note: Because the set of IP addresses associated with a LoadBalancer can change over time, you should never create an "A" record with any specific IP address.