You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ping: google.com: Temporary failure in name resolution
What went wrong?
Upon trying to reach out from the php container, I am not able to, unless I turn on a VPN. For example, here are the results of ping and curl` (without the VPN):
$ curl https://www.google.com
curl: (6) Could not resolve host: www.google.com
$ ping google.com
ping: google.com: Temporary failure in name resolution
$ dig google.com
; <<>> DiG 9.16.33-Debian <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 30777
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;google.com. IN A
;; Query time: 1205 msec
;; SERVER: 127.0.0.11#53(127.0.0.11)
;; WHEN: Wed Oct 04 13:12:23 EST 2023
;; MSG SIZE rcvd: 28
From a different Docker container running php, I am able to reach out from the Docker container to the internet, so I believe this is related to Devilbox somehow.
Here are the Bind container logs for the above commands in case that helps:
04-Oct-2023 18:15:15.471 client @0x7f50bc704160 172.16.238.10#35120 (www.google.com): query: www.google.com IN AAAA + (172.16.238.100)
04-Oct-2023 18:15:15.472 client @0x7f50bc5f0240 172.16.238.10#33362 (www.google.com): query: www.google.com IN A + (172.16.238.100)
04-Oct-2023 18:15:16.674 timed out resolving 'www.google.com/AAAA/IN': 8.8.4.4#53
04-Oct-2023 18:15:16.674 timed out resolving 'www.google.com/A/IN': 8.8.4.4#53
04-Oct-2023 18:15:16.674 client @0x7f50bc704160 172.16.238.10#35120 (www.google.com): query failed (timed out) for www.google.com/IN/AAAA at query.c:7724
04-Oct-2023 18:15:16.674 client @0x7f50bc5f0240 172.16.238.10#33362 (www.google.com): query failed (timed out) for www.google.com/IN/A at query.c:7724
04-Oct-2023 18:15:16.676 client @0x7f50bc704160 172.16.238.10#40304 (www.google.com): query: www.google.com IN A + (172.16.238.100)
04-Oct-2023 18:15:16.676 client @0x7f50bc704160 172.16.238.10#40304 (www.google.com): query failed (SERVFAIL) for www.google.com/IN/A at query.c:7008
04-Oct-2023 18:15:16.676 client @0x7f50bc705150 172.16.238.10#49222 (www.google.com): query: www.google.com IN AAAA + (172.16.238.100)
04-Oct-2023 18:15:16.676 client @0x7f50bc705150 172.16.238.10#49222 (www.google.com): query failed (SERVFAIL) for www.google.com/IN/AAAA at query.c:7008
Since VPN makes this issue go away, I might blame this on my ISP and in fact had tried working with them, and got myself a static IP, but that didn't fix this. However, I noticed that when I try to reach the internet from a different container running php, I am able to just fine, regardless of VPN, so that makes me think this is a problem within Devilbox.
Expected behaviour
I expected that running ping google.com from inside the php container would return results
How can we reproduce the bug?
I am
Host Operating System
Linux
Host Platform (amd64, arm64, other)
amd64
(Linux only) Is SELinux enabled?
Yes, SELinux is enabled
Docker version
Docker version 24.0.6, build ed223bc
Docker Compose version
Docker Compose version v2.21.0-desktop.1
Devilbox version
tag: v2.4.0
Have you removed stopped containers before starting?
Yes
Have you pulled latest Docker images before starting?
# ==============================================================================# Checking git# ==============================================================================
[SUCC] git is clean
# ==============================================================================# Checking .env file# ==============================================================================
[SUCC] .env file exists
[SUCC] .env file is readable
[SUCC] All variables are present in .env file
[SUCC] No variables is duplicated in .env file
# ==============================================================================# Checking .env file values# ==============================================================================
[SUCC] All .env file variables have correct values
# ==============================================================================# Checking required Devilbox core directories exist# ==============================================================================
[SUCC] All PHP cfg/ sub directories are present
[SUCC] All PHP log/ sub directories are present
[SUCC] All PHP mod/ sub directories are present
[SUCC] All HTTPD cfg/ sub directories are present
[SUCC] All HTTPD log/ sub directories are present
# ==============================================================================# Checking devilbox core directory permissions# ==============================================================================
[SUCC] All devilbox directories have correct permissions
[SUCC] All devilbox directories have correct uid
[SUCC] All devilbox directories have correct gid
# ==============================================================================# Checking devilbox core file permissions# ==============================================================================
[SUCC] All devilbox files have correct permissions
[SUCC] All devilbox files have correct uid
[SUCC] All devilbox files have correct gid
# ==============================================================================# Checking projects permissions# ==============================================================================
[SUCC] All project dirs have correct permissions
[SUCC] All project dirs have correct uid
[SUCC] All project dirs have correct gid
# ==============================================================================# Checking projects settings# ==============================================================================
[SUCC] All projects have valid DNS records
[SUCC] All projects have valid HTTPD_DOCROOT_DIR
# ==============================================================================# Checking customizations# ==============================================================================
[NOTE] [docker] Custom docker-compose.override.yml present
[NOTE] [php.ini] Custom config present in cfg/php-ini-7.4/
[NOTE] [php.ini] Custom config present in cfg/php-ini-8.1/
find: cfg/mariadb-10.8: No such file or directory
find: cfg/mariadb-10.9: No such file or directory
find: cfg/mariadb-10.10: No such file or directory
[NOTE] [startup] Custom script present in autostart/
# ==============================================================================# SUMMARY# ==============================================================================
[SUCC] Found no errors
[NOTE] 4 custom configurations applied. If you encounter issues, reset them first.
Log: docker-compose logs
devilbox-mailhog-1 | 2023/10/04 18:24:34 Using in-memory storage
devilbox-bind-1 | [INFO] Debug level: 1
devilbox-mailhog-1 | 2023/10/04 18:24:34 [SMTP] Binding to address: 0.0.0.0:1025
devilbox-mailhog-1 | [HTTP] Binding to address: 0.0.0.0:8025
devilbox-httpd-1 | [INFO] Debug level: 1
devilbox-mailhog-1 | 2023/10/04 18:24:34 Serving under http://0.0.0.0:8025/
devilbox-httpd-1 | [INFO] Runtime debug: 1
devilbox-mailhog-1 | Creating API v1 with WebPath:
devilbox-mailhog-1 | Creating API v2 with WebPath:
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mysql-1 | 2023-10-04 18:24:34+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.19+maria~ubu2004 started.
devilbox-mysql-1 | 2023-10-04 18:24:35+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
devilbox-mysql-1 | 2023-10-04 18:24:35+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.19+maria~ubu2004 started.
devilbox-mysql-1 | 2023-10-04 18:24:35+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
devilbox-bind-1 |
devilbox-bind-1 | --------------------------------------------------------------------------------
devilbox-bind-1 | /etc/bind/named.conf
devilbox-httpd-1 | [INFO] Changing user 'www-data' uid to: 267164627
devilbox-httpd-1 | [INFO] Changing group 'www-data' gid to: 701479588
devilbox-httpd-1 | [INFO] Setting container timezone to: EST
devilbox-httpd-1 | [INFO] Docker date set to: Wed Oct 4 13:24:34 EST 2023
devilbox-httpd-1 | [INFO] $DOCKER_LOGS disabled. Logging errors and access to log files inside container.
devilbox-httpd-1 | [INFO] PHP 5.2 compatibility mode: Disabled
devilbox-httpd-1 | [INFO] PHP-FPM: Enabled
devilbox-mysql-1 | 2023-10-04 18:24:35+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] Starting MariaDB 10.5.19-MariaDB-1:10.5.19+maria~ubu2004-log source revision f8a85af8ca1c937b8d4f847477bd282f80251cde as process 1
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: Uses event mutexes
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: Number of pools: 1
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: Using Linux native AIO
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: Completed initialization of buffer pool
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: 128 rollback segments are active.
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: Creating shared tablespace for temporary tables
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: 10.5.19 started; log sequence number 2566543195; transaction id 1179676
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] Plugin 'FEEDBACK' is disabled.
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] Server socket created on IP: '::'.
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Warning] 'proxies_priv' entry '@% root@mysql' ignored in --skip-name-resolve mode.
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] Reading of all Master_info entries succeeded
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] Added new Master_info '' to hash table
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] mysqld: ready for connections.
devilbox-mysql-1 | Version: '10.5.19-MariaDB-1:10.5.19+maria~ubu2004-log' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
devilbox-mysql-1 | 2023-10-04 18:24:35 0 [Note] InnoDB: Buffer pool(s) load completed at 231004 18:24:35
devilbox-bind-1 | --------------------------------------------------------------------------------
devilbox-bind-1 | include "/etc/bind/named.conf.logging";
devilbox-bind-1 | include "/etc/bind/named.conf.options";
devilbox-bind-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devilbox-bind-1 | [INFO] BIND logging: to stderr via Docker logs
devilbox-bind-1 |
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-bind-1 | --------------------------------------------------------------------------------
devilbox-bind-1 | /etc/bind/named.conf.logging
devilbox-bind-1 | --------------------------------------------------------------------------------
devilbox-bind-1 | logging {
devilbox-bind-1 | category default { default_stderr; };
devilbox-bind-1 | category queries { default_stderr; };
devilbox-bind-1 | };
devilbox-bind-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devilbox-mailhog-1 | [APIv1] KEEPALIVE /api/v1/events
devilbox-bind-1 | [INFO] Using default DNS TTL time: 3600 sec
devilbox-bind-1 | [INFO] Using default DNS Refresh time: 1200 sec
devilbox-bind-1 | [INFO] Using default DNS Retry time: 180 sec
devilbox-bind-1 | [INFO] Using default DNS Expiry time: 1209600 sec
devilbox-bind-1 | [INFO] Using default DNS Max Cache time: 10800 sec
devilbox-bind-1 | [INFO] Changing DNS Max Cache size to: 90%
devilbox-bind-1 | [INFO] Not adding any PTR records
devilbox-bind-1 | [INFO] Adding A Record: *.loc -> 127.0.0.1
devilbox-bind-1 | [INFO] Not adding any CNAME records
devilbox-bind-1 | [INFO] $ALLOW_QUERY not set.
devilbox-bind-1 | [INFO] DNS query rules will not be set
devilbox-bind-1 | [INFO] $ALLOW_RECURSION not set.
devilbox-php-1 | [INFO] Debug level: 1
devilbox-php-1 | [INFO] Changing user 'devilbox' uid to: 267164627
devilbox-php-1 | [INFO] Changing group 'devilbox' gid to: 701479588
devilbox-php-1 | [INFO] Setting container timezone to: EST
devilbox-php-1 | [INFO] Setting PHP: timezone=EST
devilbox-php-1 | [INFO] Docker date set to: Wed Oct 4 13:24:33 EST 2023
devilbox-php-1 | [INFO] $DOCKER_LOGSset to 0. Logging to files under: /var/log/php
devilbox-php-1 | [INFO] Make sure to mount this directory in order to view logs
devilbox-php-1 | [INFO] $ENABLE_MAILset to 2. Enabling postfix catch-all
devilbox-php-1 | [INFO] Forwarding httpd:80 to 127.0.0.1:80 inside this docker.
devilbox-php-1 | [INFO] Forwarding httpd:443 to 127.0.0.1:443 inside this docker.
devilbox-php-1 | [INFO] Forwarding mysql:3306 to 127.0.0.1:3306 inside this docker.
devilbox-php-1 | [INFO] Forwarding pgsql:5432 to 127.0.0.1:5432 inside this docker.
devilbox-php-1 | [INFO] Forwarding redis:6379 to 127.0.0.1:6379 inside this docker.
devilbox-php-1 | [INFO] Forwarding memcd:11211 to 127.0.0.1:11211 inside this docker.
devilbox-php-1 | [INFO] Forwarding mongo:27017 to 127.0.0.1:27017 inside this docker.
devilbox-php-1 | [INFO] Enabling 'socat-80-httpd-80' to be started by supervisord
devilbox-php-1 | [INFO] Enabling 'socat-443-httpd-443' to be started by supervisord
devilbox-php-1 | [INFO] Enabling 'socat-3306-mysql-3306' to be started by supervisord
devilbox-php-1 | [INFO] Enabling 'socat-5432-pgsql-5432' to be started by supervisord
devilbox-php-1 | [INFO] Enabling 'socat-6379-redis-6379' to be started by supervisord
devilbox-php-1 | [INFO] Enabling 'socat-11211-memcd-11211' to be started by supervisord
devilbox-php-1 | [INFO] Enabling 'socat-27017-mongo-27017' to be started by supervisord
devilbox-php-1 | [INFO] Enabling 'rsyslogd' to be started by supervisord
devilbox-php-1 | [INFO] Enabling 'postfix' to be started by supervisord
devilbox-php-1 | [INFO] Enabling 'php-fpm' to be started by supervisord
devilbox-php-1 | [INFO] PHP.ini: jakeparis-php.ini -> /usr/local/etc/php/conf.d/yyy-devilbox-user-runtime-jakeparis-php.ini
devilbox-php-1 | [INFO] PHP.ini: mailhog.ini -> /usr/local/etc/php/conf.d/yyy-devilbox-user-runtime-mailhog.ini
devilbox-php-1 | [INFO] PHP.ini: jakeparis-xdebug.ini -> /usr/local/etc/php/conf.d/yyy-devilbox-user-runtime-jakeparis-xdebug.ini
devilbox-php-1 | [INFO] Enabling the following PHP modules: imagick
devilbox-php-1 |
devilbox-php-1 | warning: imagick (imagick.so) is already loaded!
devilbox-php-1 |
devilbox-php-1 | [INFO] Disabling the following PHP modules: pdo_sqlsrv,sqlsrv,rdkafka,swoole
devilbox-php-1 | [INFO] $MYSQL_BACKUP_USERsetfor mysqldump-secure. Changing to 'root'
devilbox-php-1 | [INFO] $MYSQL_BACKUP_PASSsetfor mysqldump-secure. Changing to '******'
devilbox-php-1 | [INFO] $MYSQL_BACKUP_HOSTsetfor mysqldump-secure. Changing to 'mysql'
devilbox-php-1 | Updating certificates in /etc/ssl/certs...
devilbox-php-1 | 1 added, 0 removed; done.
devilbox-php-1 | Running hooks in /etc/ca-certificates/update.d...
devilbox-php-1 | done.
devilbox-php-1 | [INFO] Executing custom startup script: setup-git.sh
devilbox-php-1 | error: key does not contain a section: defaultbranch
devilbox-php-1 | [INFO] Executing custom startup script: use-node-18.18.0.sh
devilbox-php-1 | [INFO] Starting supervisord
devilbox-php-1 | 2023-10-04 13:24:39,365 WARN No file matches via include "/etc/supervisor/custom.d/*.conf"
devilbox-php-1 | 2023-10-04 13:24:39,366 INFO Included extra file "/etc/supervisor/conf.d/php-fpm.conf" during parsing
devilbox-php-1 | 2023-10-04 13:24:39,366 INFO Included extra file "/etc/supervisor/conf.d/postfix.conf" during parsing
devilbox-php-1 | 2023-10-04 13:24:39,366 INFO Included extra file "/etc/supervisor/conf.d/rsyslogd.conf" during parsing
devilbox-bind-1 | [INFO] DNS recursion rules will not be set
devilbox-php-1 | 2023-10-04 13:24:39,366 INFO Included extra file "/etc/supervisor/conf.d/socat-11211-memcd-11211.conf" during parsing
devilbox-php-1 | 2023-10-04 13:24:39,366 INFO Included extra file "/etc/supervisor/conf.d/socat-27017-mongo-27017.conf" during parsing
devilbox-php-1 | 2023-10-04 13:24:39,366 INFO Included extra file "/etc/supervisor/conf.d/socat-3306-mysql-3306.conf" during parsing
devilbox-bind-1 | [INFO] DNSSEC Validation: no
devilbox-httpd-1 | [INFO] PHP-FPM: Server address: 172.16.238.10
devilbox-httpd-1 | [INFO] PHP-FPM: Server port: 9000
devilbox-httpd-1 | [INFO] PHP-FPM: Timeout: 180
devilbox-httpd-1 | [INFO] http2: Enabled
devilbox-php-1 | 2023-10-04 13:24:39,366 INFO Included extra file "/etc/supervisor/conf.d/socat-443-httpd-443.conf" during parsing
devilbox-bind-1 | [INFO] Adding custom DNS forwarder: 8.8.8.8,8.8.4.4
devilbox-php-1 | 2023-10-04 13:24:39,366 INFO Included extra file "/etc/supervisor/conf.d/socat-5432-pgsql-5432.conf" during parsing
devilbox-httpd-1 | [INFO] Main vhost: Enabled
devilbox-bind-1 |
devilbox-httpd-1 | [INFO] Main vhost: Setting SSL type to: http and https
devilbox-httpd-1 | [INFO] Main vhost: Enable automatic generation of SSL certificates
devilbox-bind-1 | --------------------------------------------------------------------------------
devilbox-bind-1 | /etc/bind/named.conf.options
devilbox-bind-1 | --------------------------------------------------------------------------------
devilbox-bind-1 | options {
devilbox-bind-1 | directory "/var/cache/bind";
devilbox-bind-1 | dnssec-validation no;
devilbox-bind-1 | auth-nxdomain no;# conform to RFC1035
devilbox-bind-1 | listen-on-v6 { any; };
devilbox-bind-1 | max-cache-size 90%;
devilbox-bind-1 | response-policy { zone "rpz"; };
devilbox-php-1 | 2023-10-04 13:24:39,366 INFO Included extra file "/etc/supervisor/conf.d/socat-6379-redis-6379.conf" during parsing
devilbox-php-1 | 2023-10-04 13:24:39,366 INFO Included extra file "/etc/supervisor/conf.d/socat-80-httpd-80.conf" during parsing
devilbox-php-1 | 2023-10-04 13:24:39,366 INFO Set uid to user 0 succeeded
devilbox-php-1 | 2023-10-04 13:24:39,370 INFO supervisord started with pid 1
devilbox-php-1 | 2023-10-04 13:24:40,374 INFO spawned: 'rsyslogd' with pid 1589
devilbox-php-1 | 2023-10-04 13:24:40,381 INFO spawned: 'php-fpm' with pid 1590
devilbox-php-1 | 2023-10-04 13:24:40,388 INFO spawned: 'postfix' with pid 1591
devilbox-php-1 | 2023-10-04 13:24:40,395 INFO spawned: 'socat-11211-memcd-11211' with pid 1594
devilbox-bind-1 | forwarders {
devilbox-bind-1 | 8.8.8.8;
devilbox-bind-1 | 8.8.4.4;
devilbox-bind-1 | };
devilbox-php-1 | 2023-10-04 13:24:40,403 INFO spawned: 'socat-27017-mongo-27017' with pid 1596
devilbox-php-1 | 2023-10-04 13:24:40,413 INFO spawned: 'socat-3306-mysql-3306' with pid 1597
devilbox-php-1 | 2023-10-04 13:24:40,425 INFO spawned: 'socat-443-httpd-443' with pid 1598
devilbox-bind-1 | };
devilbox-bind-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devilbox-bind-1 |
devilbox-php-1 | 2023-10-04 13:24:40,430 INFO spawned: 'socat-5432-pgsql-5432' with pid 1599
devilbox-php-1 | 2023-10-04 13:24:40,444 INFO spawned: 'socat-6379-redis-6379' with pid 1600
devilbox-bind-1 | --------------------------------------------------------------------------------
devilbox-bind-1 | /etc/bind/custom/conf/rpz.conf
devilbox-bind-1 | --------------------------------------------------------------------------------
devilbox-bind-1 | zone "rpz" IN {
devilbox-bind-1 |type master;
devilbox-bind-1 | allow-transfer { any; };
devilbox-bind-1 | allow-update { any; };
devilbox-bind-1 | file "/etc/bind/custom/zone/rpz";
devilbox-bind-1 | };
devilbox-bind-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
devilbox-bind-1 |
devilbox-bind-1 | --------------------------------------------------------------------------------
devilbox-bind-1 | /etc/bind/custom/zone/rpz
devilbox-bind-1 | --------------------------------------------------------------------------------
devilbox-bind-1 |$TTL 3600
devilbox-bind-1 | @ IN SOA bind. admin.bind. (
devilbox-php-1 | 2023-10-04 13:24:40,454 INFO spawned: 'socat-80-httpd-80' with pid 1601
devilbox-php-1 | 2023-10-04 13:24:41,606 INFO success: rsyslogd entered RUNNING state, process has stayed up for> than 1 seconds (startsecs)
devilbox-php-1 | 2023-10-04 13:24:41,606 INFO success: php-fpm entered RUNNING state, process has stayed up for> than 1 seconds (startsecs)
devilbox-php-1 | 2023-10-04 13:24:41,606 INFO success: postfix entered RUNNING state, process has stayed up for> than 1 seconds (startsecs)
devilbox-bind-1 | 1696443873 ; Serial number
devilbox-php-1 | 2023-10-04 13:24:41,606 INFO success: socat-11211-memcd-11211 entered RUNNING state, process has stayed up for> than 1 seconds (startsecs)
devilbox-php-1 | 2023-10-04 13:24:41,606 INFO success: socat-27017-mongo-27017 entered RUNNING state, process has stayed up for> than 1 seconds (startsecs)
devilbox-php-1 | 2023-10-04 13:24:41,606 INFO success: socat-3306-mysql-3306 entered RUNNING state, process has stayed up for> than 1 seconds (startsecs)
devilbox-php-1 | 2023-10-04 13:24:41,606 INFO success: socat-443-httpd-443 entered RUNNING state, process has stayed up for> than 1 seconds (startsecs)
devilbox-php-1 | 2023-10-04 13:24:41,606 INFO success: socat-5432-pgsql-5432 entered RUNNING state, process has stayed up for> than 1 seconds (startsecs)
devilbox-php-1 | 2023-10-04 13:24:41,606 INFO success: socat-6379-redis-6379 entered RUNNING state, process has stayed up for> than 1 seconds (startsecs)
devilbox-php-1 | 2023-10-04 13:24:41,606 INFO success: socat-80-httpd-80 entered RUNNING state, process has stayed up for> than 1 seconds (startsecs)
devilbox-bind-1 | 1200 ; Refresh time
devilbox-bind-1 | 180 ; Retry time
devilbox-httpd-1 | [INFO] Main vhost: SSL CN: localhost,*.localhost,devilbox,*.devilbox,httpd
devilbox-httpd-1 | [INFO] $MAIN_VHOST_DOCROOT not specified. Keeping default: htdocs
devilbox-httpd-1 | [INFO] $MAIN_VHOST_TPL not specified. Keeping default: cfg
devilbox-httpd-1 | [INFO] Main vhost: Enabling httpd status page
devilbox-httpd-1 | [INFO] Main vhost: Changing status page alias to: /devilbox-httpd-status
devilbox-httpd-1 | [INFO] Mass vhost: Enabled
devilbox-httpd-1 | [INFO] Mass vhost: Setting SSL type to: http and https
devilbox-httpd-1 | [INFO] Mass vhost: Enable automatic generation of SSL certificates
devilbox-httpd-1 | [INFO] Mass vhost: changing tld to: .loc
devilbox-httpd-1 | [INFO] Mass vhost: changing document root to: htdocs
devilbox-bind-1 | 1209600 ; Expiry time
devilbox-bind-1 | 10800 ; Negative Cache TTL
devilbox-bind-1 | )
devilbox-bind-1 |
devilbox-httpd-1 | [INFO] Mass vhost: changing template dir to: .devilbox
devilbox-httpd-1 | [INFO] Disabling PHP 5.2 compat mode
devilbox-httpd-1 | [INFO] vhost-gen: no customized template found
devilbox-httpd-1 | vhost-gen: [INFO] (2023-10-04 13:24:34): Loading configuration file (-c): /etc/vhost-gen/main.yml
devilbox-bind-1 |; NS Records
devilbox-bind-1 | IN NS bind.
devilbox-httpd-1 | vhost-gen: [INFO] (2023-10-04 13:24:34): Loading vhost template (global) (-t): /etc/vhost-gen/templates/apache24.yml
devilbox-httpd-1 | vhost-gen: [INFO] (2023-10-04 13:24:34): Loading vhost template (override) (-o): /var/www/default/cfg/apache24.yml
devilbox-httpd-1 | vhost-gen: [WARN] (2023-10-04 13:24:34): Override Vhost template not found: /var/www/default/cfg/apache24.yml
devilbox-httpd-1 | vhost-gen: [INFO] (2023-10-04 13:24:34): Creating vhost type: https and http (both)
devilbox-httpd-1 | vhost-gen: [INFO] (2023-10-04 13:24:34): Using vhost name: localhost
devilbox-httpd-1 | vhost-gen: [INFO] (2023-10-04 13:24:34): Log setting: dir -> True
devilbox-httpd-1 | vhost-gen: [INFO] (2023-10-04 13:24:34): Log setting: Not specified
devilbox-httpd-1 | vhost-gen: [INFO] (2023-10-04 13:24:34): Vhost config written to: /etc/httpd/conf.d/localhost.conf
devilbox-httpd-1 | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]devilbox-httpd-1 | distinguished_name = req_distinguished_namedevilbox-httpd-1 | x509_extensions = v3_reqdevilbox-httpd-1 |devilbox-httpd-1 | [req_distinguished_name]devilbox-bind-1 |devilbox-bind-1 | ; Custom Recordsdevilbox-bind-1 | *.loc IN A 127.0.0.1devilbox-bind-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^devilbox-bind-1 | [INFO] Starting BIND 9.18.9devilbox-httpd-1 |devilbox-httpd-1 | [ v3_req ]devilbox-bind-1 | 04-Oct-2023 18:24:33.555 managed-keys-zone: loaded serial 0devilbox-bind-1 | 04-Oct-2023 18:24:33.589 zone rpz/IN: loaded serial 1696443873devilbox-bind-1 | 04-Oct-2023 18:24:33.589 rpz: rpz: reload startdevilbox-bind-1 | 04-Oct-2023 18:24:33.589 rpz: rpz: reload donedevilbox-httpd-1 | basicConstraints = critical, CA:FALSEdevilbox-httpd-1 | subjectKeyIdentifier = hashdevilbox-httpd-1 | keyUsage = critical, digitalSignature, keyEnciphermentdevilbox-httpd-1 | authorityKeyIdentifier = keyid:always,issuer:alwaysdevilbox-httpd-1 | extendedKeyUsage = serverAuth, clientAuthdevilbox-bind-1 | 04-Oct-2023 18:24:33.590 all zones loadeddevilbox-bind-1 | 04-Oct-2023 18:24:33.591 runningdevilbox-bind-1 | 04-Oct-2023 18:24:40.742 client @0x7f9dfc20f2e0 172.16.238.10#33295 (google.com): query: google.com IN A + (172.16.238.100)devilbox-httpd-1 | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/main/localhost.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=localhost/emailAddress=admin@localhost' -out /etc/httpd/cert/main/localhost.csr
devilbox-httpd-1 | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]devilbox-httpd-1 | distinguished_name = req_distinguished_namedevilbox-httpd-1 | x509_extensions = v3_reqdevilbox-httpd-1 |devilbox-bind-1 | 04-Oct-2023 18:24:40.742 client @0x7f9dfc2102e0 172.16.238.10#56557 (google.com): query: google.com IN AAAA + (172.16.238.100)devilbox-bind-1 | 04-Oct-2023 18:24:41.943 timed out resolving 'google.com/AAAA/IN': 8.8.4.4#53devilbox-bind-1 | 04-Oct-2023 18:24:41.943 timed out resolving 'google.com/A/IN': 8.8.4.4#53devilbox-bind-1 | 04-Oct-2023 18:24:41.943 client @0x7f9dfc20f2e0 172.16.238.10#33295 (google.com): query failed (timed out) for google.com/IN/A at query.c:7724devilbox-bind-1 | 04-Oct-2023 18:24:41.943 client @0x7f9dfc2102e0 172.16.238.10#56557 (google.com): query failed (timed out) for google.com/IN/AAAA at query.c:7724devilbox-bind-1 | 04-Oct-2023 18:24:41.945 client @0x7f9dfc211100 172.16.238.10#43045 (google.com): query: google.com IN AAAA + (172.16.238.100)devilbox-bind-1 | 04-Oct-2023 18:24:41.945 client @0x7f9dfc211100 172.16.238.10#43045 (google.com): query failed (SERVFAIL) for google.com/IN/AAAA at query.c:7008devilbox-bind-1 | 04-Oct-2023 18:24:41.945 client @0x7f9dfc20f2e0 172.16.238.10#58017 (google.com): query: google.com IN A + (172.16.238.100)devilbox-bind-1 | 04-Oct-2023 18:24:41.945 client @0x7f9dfc20f2e0 172.16.238.10#58017 (google.com): query failed (SERVFAIL) for google.com/IN/A at query.c:7008devilbox-bind-1 | 04-Oct-2023 18:24:43.226 resolver priming query complete: successdevilbox-httpd-1 | [req_distinguished_name]... logs truncated
(Optional) Additional information
No response
The text was updated successfully, but these errors were encountered:
I am having a similar problem, except I keep getting incorrect IP addresses no matter what hostname I try to resolve. I thought I found a workaround by using my router's IP address for "BIND_DNS_RESOLVER" but that's not working either.
Have you already looked into this bug?
(Optional) Error message
ping: google.com: Temporary failure in name resolution
What went wrong?
Upon trying to reach out from the php container, I am not able to, unless I turn on a VPN. For example, here are the results of
ping
and curl` (without the VPN):From a different Docker container running php, I am able to reach out from the Docker container to the internet, so I believe this is related to Devilbox somehow.
Here are the Bind container logs for the above commands in case that helps:
Since VPN makes this issue go away, I might blame this on my ISP and in fact had tried working with them, and got myself a static IP, but that didn't fix this. However, I noticed that when I try to reach the internet from a different container running php, I am able to just fine, regardless of VPN, so that makes me think this is a problem within Devilbox.
Expected behaviour
I expected that running
ping google.com
from inside the php container would return resultsHow can we reproduce the bug?
I am
Host Operating System
Linux
Host Platform (amd64, arm64, other)
amd64
(Linux only) Is SELinux enabled?
Yes, SELinux is enabled
Docker version
Docker version 24.0.6, build ed223bc
Docker Compose version
Docker Compose version v2.21.0-desktop.1
Devilbox version
tag: v2.4.0
Have you removed stopped containers before starting?
Yes
Have you pulled latest Docker images before starting?
Yes
Devilbox start command
docker-compose up -d bind httpd mysql php mailhog
Config: .env file
Config: docker-compose.override.yml
Config: ./check-config.sh
Log: docker-compose logs
(Optional) Additional information
No response
The text was updated successfully, but these errors were encountered: