I have mobile application which calls to an API (api.example.com) setup in web. For easy debugging purpose I would like to route this api calls to a server setup in my LAN. I have Bind9 setup on a machine and ADSL router has configured to use this DNS server. Also I've setup Apache virtual host for api.example.com.   So I'm interesting to know is there a way I can route/resolve api.example.com to my local apache server (192.168.1.5) by entering some records.
With OpenDNS now needing one to be on the pro package to have filtering turned on, being on a tight budget, we are in need of free DNS filtering.  After reading , I collected SquidGuard blacklists and concatenated domains in the categories i needed into one big list. I then fed it to  generating a file containing about 2 million zones.  named-checkconf parses it just fine, but reloading named takes almost 10 minutes, then it wont resolve anything, and the server slows down to a crawl. Removing the include results in named working properly again.  Whats the proper way to set up BIND9 to work as a DNS firewall efficiently? If it's possible to also block any domain that resolves to specific IP addresses that would solve the whole problem.   I'm running bind as non-authoritative, just a caching server.
example.com is hosted on IP address c.c.c.c at host1, no access any windows server admin at all blog.example.com is  on IP a.a.a.a at host2, full access to Linux server admin, using WordPress   So basically, I can fiddle with subdomain all I want.  I can't 301 redirect because the content on host 1 is an eCommerce site that I have no server control over. Can't put WordPress on it, can't run scripts, can't do anything on the server period.  Is there a method to "mask" all the URLs on root blog.example.com so they appear as example.com/blog/ folder?  They can't actually be sent to example.com/blog/ as that doesn't exist. It just needs to look to the surfer as if they are there.  Can this be done with some kind of masking or something?  Will this be better for SEO as hopefully search engines will see the blog in a directory on the main domain? Are the contents of a loot box determined at the time it is awarded or when it is opened?  For example, if you collect multiple loot boxes before a special event but opened them during the special event, would they have the potential of spawning rewards from that event? Solve $\lim_{x\to 0} \frac{\sin x-x}{x^3}$ I'm trying to solve this limit     $$\lim_{x\to 0} \frac{\sin x-x}{x^3}$$   Solving using L'hopital rule, we have:  $$\lim_{x\to 0} \frac{\sin x-x}{x^3}= \lim_{x\to 0} \frac{\cos x-1}{3x^2}=\lim_{x\to 0} \frac{-\sin x}{6x}=\lim_{x\to 0} \frac{-\cos x}{6}=-\frac{1}{6}.$$  Am I right?  I'm trying to solve this using change of variables, I need help.  Thanks  EDIT  I didn't understand the answer and the commentaries, I'm looking for an answer using change of variables. We login to applications almost every day. The password is stored in our fingers, as an automated process (if they have used it long enough). When users realize they have entered a wrong character (before hitting login-button) they erase the whole password, and retype the entire password – instead of just the last wrong character. Question is why?         &ndash; Wireframes created with How to measure time taken by a function to execute Trying to find a story about an unborn telepathic baby who can save a spaceship from doom How do I backup a LVM partition to an image for recovery purposes?  I am trying to run dd on /dev/sda2, but it crashes after ca 8 hours, at around 380G   sudo lvmdiskscan   /dev/centos/swap [       3.89 GiB]    /dev/sda1        [     500.00 MiB]    /dev/centos/root [      50.00 GiB]    /dev/sda2        [     465.27 GiB] LVM physical volume   /dev/centos/home [     411.38 GiB]    /dev/sdb1        [     931.51 GiB]    3 disks   2 partitions   0 LVM physical volume whole disks   1 LVM physical volume   Anyway, could running from a stick make any difference? I am confused with the grammar here. Which is grammatically correct?       At which time will you call me?     At what time will you call me?    And why? Do we have negative prime numbers? Do we have negative prime numbers?   $..., -7, -5, -3, -2, ...$ In the decimal system: $...-3, -2, -1, 0, 1, 2, 3...$ In the binary system: $...-11, -10, -1, 0, 1, 10, 11...$ In the unary system: $-111, -11, -1, \text{ ??? }, 1, 11, 111...$   I was only able to find a related question but none with an answer so far: I'm looking into the technique of 'hanging' meat, and whether there are 'home' applications that would be safe and have a beneficial effect.  Now, there are a lot of (possible) synonyms that muddle the waters (for me). There's hanging, dry-aging, faisandage (for game birds), and more. What I'm looking for is the 1-3 day (near) room-temperature storage of meat and the spoiling / enzyme process that will cause a flavor change. Feel free to help me along by clarifying the answer.  Basically:   Is there any (good) use for this technique / process for supermarket / butcher cuts of meat? What should be taken in consideration for safe execution? Extended Euclidean Algorithm: backward vs. forward I'm confused about how to do the extended algorithm. For example, here's the gcd part gcd(8000,7001)  $$\begin{align}8000 &amp;= 7001\cdot1 + 999\\ 7001&amp;=999\cdot 7+8\\ 999&amp;=8\cdot 124+7\\ 8&amp;=7\cdot 1+1\\ 7&amp;=1\cdot 7+0\\ \gcd(8000,7001)&amp;=1\end{align}$$    Now, the extended algorithm  $$\begin{align}1 &amp;= 8 - 1\cdot7\\ &amp;= 8 - 1\cdot(999 - 8\cdot124)\\ &amp;= -1\cdot999 + 8\cdot125\end{align}$$  How do you get this 8*125 from the previous line? It has been a while since I read the Lord of the Rings novels (don't have a copy at the moment) but I seem to recall he went to Hobbiton at least once, as the young hobbits were always excited to see him.   Did he travel there often? Why does the field of an electric dipole drop off as $1/r^3$? Electric field of a point charge drops off inverse squarely but that of a dipole varies as $1/r^3$. Why the field drops off more quickly for a dipole? Threshold Secret sharing - How to create a shared secret from pre existing secret parts? In usual $(t, n)$ secret sharing schemes, a secret $S$ is split into $n$ parts so that any $t$ out of $n$ parts reconstruct the original secret. So, suppose that there is a group of $n$ participants each one has a secret $x_i$ ($x_i$ may be its private key). My question is, is it possible to create a secret $S$ using the prexisting secrets $x_i$ ($i=1...n$) so that with any $t$ out of $n$ from these secrets ($x_i$) we can find the secret $S$? Prove that $\left | \frac{a-b}{a+b}+\frac{b-c}{b+c}+\frac{c-a}{c+a} \right | < \frac{1}{8}.$ How do AD/AP boosts apply to abilities with long cast times, channels or animations? For example: I'm playing Janna in bot lane with Caitlyn. Caitlyn begins channeling Ace in the Hole to finish off an enemy. Will the AD buff from my Eye of the Storm apply extra damage to Caitlyn's ultimate if I cast at after she begins channeling? Similarly, if I see Caitlyn rev up to shoot Piltover Peacemaker, can I boost her AD after the animation begins? (If I remember correctly, Piltover Peacemaker has a quick cast time, but the spell animation is rather long, so it may be a different circumstance from the first example.)  Basically, I want to know if the AD is calculated at the start of a cast, at the end of a cast, or when the ability actually creates and object on the battlefield. The strongest player in the game is a close ally of mine and we each founded and follow of one of the strongest two religions in the game, with little cross-over between religions within our territories.  I've just spotted that he has a Great Prophet approaching my territory. According to the Civopedia they are powerful at spreading religion, and I'd rather not have a huge hit to the followers of my religion in my cities.  How can I prevent another players Great Prophet from damaging the religion in my cities, preferably without causing a major diplomatic incident. How do I grant sudo privileges to an existing user? I want to grant a newly created user sudo privileges in Ubuntu.  I tried  sudo adduser hduser admin   but it says no admin group exists. How can I do it? Shell script to delete directories older than n days