Skip to content

Commit

Permalink
Merge pull request #1421 from craigpearson/hotfix/parallels-landrush-…
Browse files Browse the repository at this point in the history
…dns-resolver

Disable Landrush DNS Resolver in Parallels
  • Loading branch information
swalkinshaw authored Aug 16, 2022
2 parents 2691745 + e9e7c37 commit 7e8e241
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ Vagrant.configure('2') do |config|
prl.cpus = vconfig.fetch('vagrant_cpus')
prl.memory = vconfig.fetch('vagrant_memory')
prl.update_guest_tools = true

# Parallels handles DNS resolution itself when used in conjunction with landrush
if Vagrant.has_plugin?('landrush') && trellis_config.multisite_subdomains?
config.landrush.guest_redirect_dns = false
end
end

# Hyper-V settings
Expand Down

0 comments on commit 7e8e241

Please sign in to comment.