This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How are dhcpd.conf files generated?

Is the data in the dhcpd.conf file generated on the fly from data stored in a database? Or is the file itself directly modified by ASG? The reason I ask is that there are a number of 'advanced' settings I need to include in my dhcp server for diskless booting, that aren't available via the ASG GUI. ASG warns against manipulating the config via CLI, so I am concerned about simply modifying it directly myself, especially if it gets regenerated every time the firewall restarts.


This thread was automatically locked due to age.
Parents
  • Hello, I guess that the DHCPD configuration file is generated using the data stored in Postgres, is this correct?
    If so, I need to be able to query this DB to get the static mappings and propagate them.

    Has anybody an idea how can I achieve this?
    Thank you
  • Hello again, 
    I was able to log in to the PGSQL prompt, then I saw that the databases available are


    List of databases
       Name    |   Owner   | Encoding 
    -----------+-----------+----------
     pop3      | postgres  | UTF8
     postgres  | postgres  | UTF8
     reporting | reporting | UTF8
     smtp      | postgres  | UTF8
     template0 | postgres  | UTF8
     template1 | postgres  | UTF8

    (No dhcpd or something by the way)
    But for all of them when i make a \dt (display tables) it always return NO RELATIONS FOUND.

    Am I missing something?

    Thank you
Reply
  • Hello again, 
    I was able to log in to the PGSQL prompt, then I saw that the databases available are


    List of databases
       Name    |   Owner   | Encoding 
    -----------+-----------+----------
     pop3      | postgres  | UTF8
     postgres  | postgres  | UTF8
     reporting | reporting | UTF8
     smtp      | postgres  | UTF8
     template0 | postgres  | UTF8
     template1 | postgres  | UTF8

    (No dhcpd or something by the way)
    But for all of them when i make a \dt (display tables) it always return NO RELATIONS FOUND.

    Am I missing something?

    Thank you
Children
No Data