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

[pfsense_dns_resolver] active_interface can't bind to virtual ip address #136

Open
huwany opened this issue Jul 7, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@huwany
Copy link

huwany commented Jul 7, 2024

Describe the bug
the active_interface can't bind to virtual ip address.

Expected behavior
the active_interface can be bound to virtual ip address, e.g 192.168.1.5 or ip's description dns_ip.

Playbook
Please paste a minimal playbook to reproduce the issue:

    - name: Enable DNS Resolver with some options
      pfsensible.core.pfsense_dns_resolver:
        state: present
        dnssec: false
        regdhcp: false
        regdhcpstatic: true
        forwarding: true
        forward_tls_upstream: false
        active_interface: "192.168.1.5"

Output
Please paste the ansible output run with -vv:

TASK [Enable DNS Resolver with some options] ***********************************************************************
task path: /opt/pfsense/ansible/main.yaml:220
fatal: [cnhz]: FAILED! => {"changed": false, "msg": "if_descr, 192.168.1.5, is not exist"}

Environment

  • What version of pfsensible.core?
    • 0.6.1
  • What version of ansible?
    • 2.15.8
  • What version of pfSense?
    • 2.7.2

Additional context

@huwany huwany added the bug Something isn't working label Jul 7, 2024
@opoplawski opoplawski changed the title active_interface can't bind to virtual ip address [pfsense_dns_resolver] active_interface can't bind to virtual ip address Jan 26, 2025
@opoplawski opoplawski self-assigned this Jan 27, 2025
@opoplawski
Copy link
Contributor

This will be a little tricky, but shouldn't be too bad. Need to add the ability to search through the virtual ips in addition to the physical ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants