• How DynDNS detect the WAN IP ?

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    S

    simply create a php file and put it on public webserver (with php support) :

    echo $_SERVER[REMOTE_ADDR]; ?>

    And modify : /etc/inc/dyndns.class
    Replace this :

    $wan_ip = get_current_wan_address();

    By this :

    $filename = "HTTP://YOUR_WEBSERVER_URL/YOUR_FILE.PHP"; $handle = fopen ($filename, "r"); $wan_ip = fread ($handle, 20); fclose ($handle);

    If you want, you can create a function with this code and call it (do not forget the  "return;" at the end of function).

  • Trouble with DHCP and VLAN

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    A

    It helps,
    Thank you very mutch!  :)

  • Short host names don't resolve?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    S

    It should automatically resolve hostnames if the DHCP server is enabled for an interface.  You can also add custom entries in Services -> DNS Forwarder.

  • Dns forwarder

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    P

    http://osdir.com/ml/network.dns.dnsmasq.general/2006-10/msg00002.html

    seems that it can be done with local

    release version 2.39 is out as a side note

  • DynDNS problem

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    C

    It sounds like in this case your modem has your public IP, and pfsense has a private IP on its WAN and its default gateway is the modem, is that correct?

  • DHCP on bridged LAN interface does not work

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    W

    I update by now to the new snapshot and everything works as expected: DHCP works also in bridged mode, and I get only a warning in the system logs, that DHCP is enable while in bridge mode. Hence, it works fine.

    Thanks again!!

    Best regards
    Arno

    PS: Better workarround for this would be to check if DHCP is enabled on both interfaces of an bridge; in such a case it woul be usefull to deactivate on instance - implementing this would accomplish also the wishes of the other thread through which this situation was introduced.

  • Keep loosing WAN IP Address - dhclient does not seem to do update

    Locked
    199
    0 Votes
    199 Posts
    117k Views
    S

    We cannot go back to ISC's client as we utilize multiple wans.

    This thread is far too old.  Closing.

  • Having problems with "dns-server" package. No SOA record returned :(

    Locked
    2
    0 Votes
    2 Posts
    6k Views
    S

    SOA records should point to a DNS name.  Then you need a A record with the DNS name of the dns server to resolve to.

    Example:

    domain.com  SOA    ns.domain.com 
    domain.com SOA ns2.domain.comm
    ns.domain.com      A    XXX.XXX.XXX.XXX
    ns2.domain.com    A    XXX.XXX.XXX.XXX
    www.domain.com  A            XXX.XXX.XXX.XXX

  • Problems with DHCP (I think)

    Locked
    8
    0 Votes
    8 Posts
    4k Views
    L

    Hi Sunny,

    I'll look into it when I get back to the office. Thanks for your advice and thanks to everyone for their input.

    Keith

  • DNS forwarding issues in SNAPSHOT-05-14-2007

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    A

    I have the DNS forwarder for the domain enabled as well with no luck.  This did work fine in previous snapshots btw.  No biggie for me, though.  Just wanted to help others out.

  • Assigning DNS Suffix via DHCP and OpenVPN

    Locked
    5
    0 Votes
    5 Posts
    55k Views
    T

    now these openvpn-options can be set up without using the custom parameters

  • Multilan dhcp

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    T

    duh, thanks.

    I didn't have the opt enabled yet.

  • DNS and Domain Controllers

    Locked
    11
    0 Votes
    11 Posts
    8k Views
    T

    I'd suggest using the DC to provide DHCP and DNS to your clients. That way your DC always has current listings of your internal clients IPs. It will make your life easier and more secure.

    I'd setup the internal network on a different domain then your public one. However if you've already setup the windows domain that is much easier said then done. At any rate, I'd register the domain you use internally just so no one else does, it could bite you in the butt in the future if you have road warriors, well worth $10/year

    I'd setup the public DNS on a *nic system, either pfsense or other in a DMZ preferably.

    You do NOT want your windows domain dns to be accessible from the outside world. But if they are the same domain name then just setup the *nix box and the Windows box both with the SOA. Your public one will be the one with real authority, but you DC must believe that it does as well. Your clients will believe your DC's DNS no matter what.

    You can use DNS tricks on your DC to point to the internal IP of the webserver too, this will take the traffic off your internet connection, otherwise it may route out to the internet and then back to you.

    Hope this helps.

  • Two LAN

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    P

    Don't think i know what you mean with dmz pool limit. But you define all the rules.
    this might help you out
    http://doc.m0n0.ch/handbook/examples.html

  • DynDNS: Server field feature request

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Multiple DynDNS accounts

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    GertjanG

    Don't bother…..

    Just use the pFSense for one DynDNS.....

    And install the DynDns-client on one of your servers (you must be having at least one, that why you are using DynDNS) - and feed it all you other DynDNS IP's.... It will detect the WAN IP just fine, even when you consider that it's running on PC on your internal network.

    For for me for month now.

  • How to set RFC 2136 Dynamic DNS updates

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • HOW TO OPEN PORT FIREWALL FOR Dynamic DNS

    Locked
    14
    0 Votes
    14 Posts
    9k Views
    M

    TQ is work…. you are the best.... :D :D :D

  • DNS and Multi WAN issues (still)

    Locked
    19
    0 Votes
    19 Posts
    8k Views
    E

    OK, screen shots of LAN rules, OPT rules, LB rules, LB status, gliffy diagram of layout, config file with passwords errased

    anything else? i'll be happy to post, i would really like this to work properly.

    Thanks guys
    -Eric

    PS, files to big to upload all of them.. so i posted them on my local webserver.

    http://artknapp.ca/lanrules.PNG
    http://artknapp.ca/lbrules.PNG
    http://artknapp.ca/lbstatus.PNG
    http://artknapp.ca/optrules.PNG
    http://artknapp.ca/pfsense.png
    http://artknapp.ca/config-router.artknapp-20070509032355.xml

  • Security with dhcp and MAC addr

    Locked
    8
    0 Votes
    8 Posts
    4k Views
    S

    use a dedicated machine as DHCP server. Having 2 dhcp servers is the way to madness.

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.