```ruby
apt_update 'update' if platform_family?('ubuntu')

include_recipe 'djbdns::server'
include_recipe 'djbdns::cache'

file '/etc/resolv.conf' do
  manage_symlink_source true
  content "nameserver #{node['ipaddress']}"
end

# for the `host` command used in the tests
package 'bind-utils' if platform_family?('rhel', 'fedora')
```

Fix bad platform_family check in test
user
```ruby
apt_update 'update' if platform_family?('debian')

include_recipe 'djbdns::server'
include_recipe 'djbdns::cache'

file '/etc/resolv.conf' do
  manage_symlink_source true
  content "nameserver #{node['ipaddress']}"
end

# for the `host` command used in the tests
package 'bind-utils' if platform_family?('rhel', 'fedora')
```
assistant