Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong A records when using n-th depth domain names #55

Open
paolomainardi opened this issue Jan 5, 2016 · 2 comments
Open

Wrong A records when using n-th depth domain names #55

paolomainardi opened this issue Jan 5, 2016 · 2 comments

Comments

@paolomainardi
Copy link

paolomainardi commented Jan 5, 2016

Version: tonistiigi/dnsdock:v1.10.0

Docker-compose file:

drupal:
  build: .
  dockerfile: Dockerfile.loc
  volumes_from:
    - data
  links:
    - mariadb
    - solr
    - redis
    - blackfire
  environment:
    - DNSDOCK_ALIAS=www.docker.sparkfabrik.docker.loc
  restart: always
mariadb:
  extends:
    file: docker-compose.common.yml
    service: mariadb
  volumes_from:
    - data
  environment:
    - DNSDOCK_ALIAS=mysql.www.docker.sparkfabrik.docker.loc

DIG output:

~ ❯ dig @172.17.42.1 mysql.www.docker.sparkfabrik.docker.loc

; <<>> DiG 9.8.3-P1 <<>> @172.17.42.1 redis.www.docker.sparkfabrik.docker.loc
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17281
;; flags: qr rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;redis.www.docker.sparkfabrik.docker.loc. IN A

;; ANSWER SECTION:
mysql.www.docker.sparkfabrik.docker.loc. 0 IN A 172.17.42.7
mysql.www.docker.sparkfabrik.docker.loc. 0 IN A 172.17.42.3

Where 172.17.42.7 is the ip of the drupal container.

Any ideas ?

@paolomainardi paolomainardi changed the title Wrong A records for when using n-th depth domain names Wrong A records when using n-th depth domain names Jan 5, 2016
@asjustas
Copy link

@jverdeyen
Copy link
Contributor

Any update on this issue? I've experienced the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants