Wesley,
We went with option 2. Your instructions for Acrylic install worked for us.
Consul agent is running
Vault is running as well
Acrylic is running.
Here is our Acrylic config
[GlobalSection]
PrimaryServerAddress=127.0.0.1
PrimaryServerPort=8600
PrimaryServerProtocol=UDP
PrimaryServerDomainNameAffinityMask=*.consul
IgnoreNegativeResponsesFromPrimaryServer=No
SecondaryServerAddress=10.227.0.2
SecondaryServerPort=53
SecondaryServerProtocol=UDP
IgnoreNegativeResponsesFromSecondaryServer=No
AddressCacheDisabled=Yes
LocalIPv4BindingAddress=0.0.0.0
LocalIPv4BindingPort=53
LocalIPv6BindingAddress=0:0:0:0:0:0:0:0
LocalIPv6BindingPort=53
LocalIPv6BindingEnabledOnWindowsVersionsPriorToWindowsVistaOrWindowsServer2008=No
GeneratedResponseTimeToLive=60
[AllowedAddressesSection]
[CacheExceptionsSection]
[WhiteExceptionsSection]
HitLogFileName=HitLog.%DATE%.txt
HitLogFileWhat=BHCFRU
10.227.0.2 is the IP address for the AWS DNS Server for our VPC.
We did not change Acrylichosts.txt
127.0.0.1 localhost localhost.localdomain
::1 localhost localhost.localdomain
C:\dig>dig @127.0.0.1 -p 8600 vault.service.consul. ANY
; <<>> DiG 9.11.0-P3 <<>> @127.0.0.1 -p 8600 vault.service.consul. ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61820
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;vault.service.consul. IN ANY
;; ANSWER SECTION:
vault.service.consul. 0 IN A 10.227.4.14
vault.service.consul. 0 IN A 10.227.132.224
;; Query time: 2 msec
;; SERVER: 127.0.0.1#8600(127.0.0.1)
;; WHEN: Wed Mar 08 19:20:11 Coordinated Universal Time 2017
;; MSG SIZE rcvd: 70
These IP addresses look correct to me. So vault service did register correctly with Consul.
However, if I just try to access vault with vault.service.consul it does not resolve.
For example I tried to initialize vault
consul.service.consul also does not resolve.
I turned on debug logging but I did not anything useful.
I turned on HitLogfile for acrylic but nothing is logged even after I restart the acrylic service.
AcrylicCache.txt file stays empty no matter which web pages I access.
Acrylic service is running without errors as far as I can tell.
This is the only issue left for us to get our environment running.
I will appreciate any suggestions you have.
Thanks