Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Creating resolv.conf every minute

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    4 Posts 2 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Clown
      last edited by

      Sorry but the other thread is closed, so I had make a new one.

      I compared the logs from the pfsense and my VDSL modem because resolv.conf is created every minute. And I think the problem is somewhere in the pfsense software. The lease itself is 8 hours, but the pfsense request every minute a new one.

      pfsense Log:
      Apr 3 13:45:26 dhclient: Creating resolv.conf
      Apr 3 13:45:26 dhclient: RENEW
      Apr 3 13:44:26 dhclient: Creating resolv.conf
      Apr 3 13:44:26 dhclient: RENEW
      Apr 3 13:43:27 dhclient: Creating resolv.conf
      Apr 3 13:43:26 dhclient: RENEW
      Apr 3 13:42:26 dhclient: Creating resolv.conf
      Apr 3 13:42:26 dhclient: RENEW
      Apr 3 13:41:26 dhclient: Creating resolv.conf
      Apr 3 13:41:26 dhclient: RENEW

      VDSL modem Log:
      4/3/11 01:28:16 PM DHCP: Lease Rebind (dhms) : 00:01:30:00
      4/3/11 01:28:16 PM DHCP: Lease Renew  (dhms) : 00:01:00:00
      4/3/11 01:28:16 PM DHCP: Lease Period (dhms) : 00:08:00:00
      4/3/11 01:28:16 PM DHCP: Domain Name        : NULL (Default)
      4/3/11 01:28:16 PM DHCP: Secondary DNS Addr  : 195.186.004.162
      4/3/11 01:28:16 PM DHCP: Primary DNS Address : 195.186.001.162
      4/3/11 01:28:16 PM DHCP: IP Gateway Address  : 178.199.240.001
      4/3/11 01:28:16 PM DHCP: IP Subnet          : 178.199.240.000
      4/3/11 01:28:16 PM DHCP: IP Net Mask        : 255.255.252.000
      4/3/11 01:28:16 PM DHCP: IP Address          : 178.199.241.140
      4/3/11 01:28:16 PM DHCP: Ethernet HW Address : 00-21-43-53-bd-31
      4/3/11 01:28:16 PM DHCP: Interface          : ENWAN1
      4/3/11 01:28:16 PM DHCP: === Client Acquired Net Parameters ===
      4/3/11 12:28:52 PM DHCP: Lease Rebind (dhms) : 00:01:30:00
      4/3/11 12:28:52 PM DHCP: Lease Renew  (dhms) : 00:01:00:00
      4/3/11 12:28:52 PM DHCP: Lease Period (dhms) : 00:08:00:00
      4/3/11 12:28:52 PM DHCP: Domain Name        : NULL (Default)
      4/3/11 12:28:52 PM DHCP: Secondary DNS Addr  : 195.186.004.162
      4/3/11 12:28:52 PM DHCP: Primary DNS Address : 195.186.001.162
      4/3/11 12:28:52 PM DHCP: IP Gateway Address  : 178.199.240.001
      4/3/11 12:28:52 PM DHCP: IP Subnet          : 178.199.240.000
      4/3/11 12:28:52 PM DHCP: IP Net Mask        : 255.255.252.000
      4/3/11 12:28:52 PM DHCP: IP Address          : 178.199.241.140
      4/3/11 12:28:52 PM DHCP: Ethernet HW Address : 00-21-43-53-bd-31
      4/3/11 12:28:52 PM DHCP: Interface          : ENWAN1
      4/3/11 12:28:52 PM DHCP: === Client Acquired Net Parameters ===
      4/3/11 11:29:28 AM DHCP: Lease Rebind (dhms) : 00:01:30:00
      4/3/11 11:29:28 AM DHCP: Lease Renew  (dhms) : 00:01:00:00
      4/3/11 11:29:28 AM DHCP: Lease Period (dhms) : 00:08:00:00
      4/3/11 11:29:28 AM DHCP: Domain Name        : NULL (Default)
      4/3/11 11:29:28 AM DHCP: Secondary DNS Addr  : 195.186.004.162
      4/3/11 11:29:28 AM DHCP: Primary DNS Address : 195.186.001.162
      4/3/11 11:29:28 AM DHCP: IP Gateway Address  : 178.199.240.001
      4/3/11 11:29:28 AM DHCP: IP Subnet          : 178.199.240.000
      4/3/11 11:29:28 AM DHCP: IP Net Mask        : 255.255.252.000
      4/3/11 11:29:28 AM DHCP: IP Address          : 178.199.241.140
      4/3/11 11:29:28 AM DHCP: Ethernet HW Address : 00-21-43-53-bd-31

      1 Reply Last reply Reply Quote 0
      • C
        Clown
        last edited by

        Back on 1.2.3-RELEASE is everyting ok. No DHCP requests every minute. So it is pfsense 2.0….

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Out of curiosity, are you spoofing a mac address on that WAN?

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • C
            Clown
            last edited by

            No. What I had to do is to set up IP Passthrough on my VDSL router (Motorola Netopia 7357-84, http://www.netopia.com/swisscom/firmwareA.html). If I bridge the VDSL router, the internet stopped working every about 2 weeks. Then I had to reboot the pfsense. With this IP Passtrough I have a stable internet within sevaral month (on pfsense V1.2.3)…

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.