Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Use FQDN for hostnames in SRV records #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ecssd_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func createSRVRecordSet(dockerId, port, serviceName string) *route53.ResourceRec
// weight: A relative weight for records with the same priority, higher value means more preferred
// port: the TCP or UDP port on which the service is to be found
// target: the canonical hostname of the machine providing the service
Value: aws.String("1 1 " + port + " " + configuration.Hostname),
Value: aws.String("1 1 " + port + " " + configuration.Hostname + "." + DNSName),
},
},
SetIdentifier: aws.String(configuration.Hostname + ":" + dockerId),
Expand Down